summaryrefslogtreecommitdiff
path: root/usr.bin/vi/common/options.awk
blob: 0c91f0718f0799a603a98182e5b1dc8320bb0d24 (plain)
1
2
3
4
5
6
7
8
9
#	@(#)options.awk	10.1 (Berkeley) 6/8/95
 
/^\/\* O_[0-9A-Z_]*/ {
	printf("#define %s %d\n", $2, cnt++);
	next;
}
END {
	printf("#define O_OPTIONCOUNT %d\n", cnt);
}