home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng)
/
ProfitPress-MegaCDROM2.B6I
/
TEXT
/
UTILITY
/
AWK320.ZIP
/
FN.AWK
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1990-02-07
|
260 b
|
14 lines
# print each line with the record number
# the record number within the file
# and the filename
# separate each file with a blank line
FILENAME != prev {
printf "\n\n"
prev = FILENAME
}
{
print NR, FNR, FILENAME, substr($0, 1, 60)
}