source: Daodan/MinGW/msys/1.0/share/awk/ftrans.awk@ 1158

Last change on this file since 1158 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 317 bytes
RevLine 
[1046]1# ftrans.awk --- handle data file transitions
2#
3# user supplies beginfile() and endfile() functions
4#
5# Arnold Robbins, arnold@skeeve.com, Public Domain
6# November 1992
7
8FNR == 1 {
9 if (_filename_ != "")
10 endfile(_filename_)
11 _filename_ = FILENAME
12 beginfile(FILENAME)
13}
14
15END { endfile(_filename_) }
Note: See TracBrowser for help on using the repository browser.