NetBSD/usr.bin/vi/common/options.awk

12 lines
231 B
Awk
Raw Normal View History

2001-03-31 15:37:44 +04:00
# $NetBSD: options.awk,v 1.3 2001/03/31 11:37:46 aymeric Exp $
#
1996-05-20 06:01:36 +04:00
# @(#)options.awk 10.1 (Berkeley) 6/8/95
1994-08-17 20:17:19 +04:00
/^\/\* O_[0-9A-Z_]*/ {
printf("#define %s %d\n", $2, cnt++);
next;
}
END {
printf("#define O_OPTIONCOUNT %d\n", cnt);
}