[2482] in Athena Bugs
/bin/grep
daemon@ATHENA.MIT.EDU (David Krikorian)
Wed Jun 28 04:58:38 1989
Date: Wed, 28 Jun 89 04:58:21 EDT
From: David Krikorian <dkk@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
Reply-To: dkk@ATHENA.MIT.EDU
/srvd/bin/grep (VS6.2a, VS6.3a and RT6.3a) exhibits the following
undesireable behavior:
-------
athena% grep -i "a text string" filename
this finds A Text String in the file
athena% grep -i "a teXt string" filename
[No match]
-------
The man page clearly says the second use of grep, above, should have
found the match. Fgrep worked correctly. Berkeley grep
(/usr/ucb/grep) works correctly. The GNU grep, which is much, MUCH
faster than the others works correctly. In fact, I wouldn't have
found this bug if I'd remembered to re-install the GNU grep as
/bin/grep after the last update...