summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-09-07 19:40:55 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-09-07 19:40:55 +0000
commit004fd48934eb95316775723b596d4d9108378d75 (patch)
tree2ed6c3e4c6769d36a337ebf42a8452254dc7db7e /sys/kern
parent6fdf01f874010c5282043b5b905a2e4bc1e9d368 (diff)
Fix "grep -number" support for multi-digit numbers. At issue is
the fact that optind refers to the *next* argument to be consumed by getopt(), not the current one. This means we have to keep track of when we are working with a new argv entry by hand. OK hugh@
Diffstat (limited to 'sys/kern')
0 files changed, 0 insertions, 0 deletions