freebsd-src/contrib/nvi/ex/ex.awk
Peter Wemm b8ba871bd9 Import of nvi-1.79, minus a few bits that we dont need (eg: postscript
files, curses, db, regex etc that we already have).  The other glue will
follow shortly.

Obtained from: Keith Bostic <bostic@bostic.com>
1996-11-01 06:45:43 +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;
}