source: Daodan/MinGW/msys/1.0/share/awk/zerofile.awk@ 1126

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

Daodan: Added Windows MinGW and build batch file

File size: 424 bytes
Line 
1# zerofile.awk --- library file to process empty input files
2#
3# Arnold Robbins, arnold@skeeve.com, Public Domain
4# June 2003
5
6BEGIN { Argind = 0 }
7
8ARGIND > Argind + 1 {
9 for (Argind++; Argind < ARGIND; Argind++)
10 zerofile(ARGV[Argind], Argind)
11}
12
13ARGIND != Argind { Argind = ARGIND }
14
15END {
16 if (ARGIND > Argind)
17 for (Argind++; Argind <= ARGIND; Argind++)
18 zerofile(ARGV[Argind], Argind)
19}
Note: See TracBrowser for help on using the repository browser.