summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-09-07 19:40:54 +0000
committermillert <millert@openbsd.org>2003-09-07 19:40:54 +0000
commit8fa3ac30e80581ab3fc1b4106a1f00e51d1654a2 (patch)
tree8f43bbe0c81bc95581c9b3bbe7b06dfb16526146 /usr.bin/diff/diff.c
parentescape `.' to avoid a double space; (diff)
downloadwireguard-openbsd-8fa3ac30e80581ab3fc1b4106a1f00e51d1654a2.tar.xz
wireguard-openbsd-8fa3ac30e80581ab3fc1b4106a1f00e51d1654a2.zip
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 'usr.bin/diff/diff.c')
0 files changed, 0 insertions, 0 deletions