home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
gawk-2.15.6-src.tgz
/
tar.out
/
fsf
/
gawk
/
test
/
include.awk
< prev
next >
Wrap
Text File
|
1996-09-28
|
278b
|
14 lines
# input file should have lines which start with "@incl" followed by
# a name of a file to include
{
if ((NF == 2) && ($1 == "@incl")) {
print " -- included file -- ", $2
while ((getline line < $2) > 0)
print line
close ($2)
printf "\t***\n"
} else {
print
}
}