repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
hammer2 - Fix bug in comp:autozero mode
[dragonfly.git]
/
contrib
/
nvi2
/
common
/
options.awk
blob
0c91f0718f0799a603a98182e5b1dc8320bb0d24
1
# @(#)options.awk 10.1 (Berkeley) 6/8/95
2
3
/
^\
/
\
*
O_
[
0
-
9
A
-
Z_
]*/ {
4
printf
(
"#define %s %d
\n
"
,
$
2
,
cnt
++);
5
next
;
6
}
7
END
{
8
printf
(
"#define O_OPTIONCOUNT %d
\n
"
,
cnt
);
9
}