blob: a506a81319ebdefb5893d1bebfbb55a9f10166b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# 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
}
}
|