xref: /freebsd/contrib/nvi/common/options.awk (revision 62cfcf62f627e5093fb37026a6d8c98e4d2ef04c)
1#	@(#)options.awk	10.1 (Berkeley) 6/8/95
2
3/^\/\* O_[0-9A-Z_]*/ {
4	printf("#define %s %d\n", $2, cnt++);
5	next;
6}
7END {
8	printf("#define O_OPTIONCOUNT %d\n", cnt);
9}
10