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