home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 6
/
FreshFish_September1994.bin
/
bbs
/
gnu
/
gawk-2.15.5-src.lha
/
GNU
/
src
/
amiga
/
gawk-2.15.5
/
test
/
zap_cpp.awk
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
Text File
|
1993-10-20
|
258 b
|
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
}