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
/
zap_cpp.awk
< prev
Wrap
Text File
|
1996-09-28
|
258b
|
14 lines
# this will remove (comment out) all preprocessor traces from
# cpp produced files:
# run this awk program as follows
# awk -f zap_cpp.awk <file>
# end redirect output where you want it to
NF > 0 {
if ($1 ~ /^#/)
print "/*", $0, "*/"
else
print
}