freebsd-nq/contrib/nvi/ex/ex.awk
2013-08-11 08:38:10 +00:00

7 lines
115 B
Awk

# @(#)ex.awk 10.1 (Berkeley) 6/8/95
/^\/\* C_[0-9A-Z_]* \*\/$/ {
printf("#define %s %d\n", $2, cnt++);
next;
}