Article View: gnu.utils.bug
Article #5733 grep problems
From: Tom Christiansen
Date: Fri, 01 Dec 1989 22:06
Date: Fri, 01 Dec 1989 22:06
27 lines
1257 bytes
1257 bytes
I'm running GNU grep version 1.3, not 1.4 (our Internet link is
being flaky right now or I'd FTP it.) I don't know whether
these problems are fixed in 1.4 or not.
1. The -y alias for -i is not recognized.
2. "grep -v -c foo < /dev/null" claims that it found one not-match.
standard greps report 0.
3. Underbar is considered a word delimiter in gnu grep, but
not in standard grep. That means that this:
grep -c foo << EOF
this is foo
foo_bar
but is foobar the same?
EOF
finds 2 matches with gnu grep and 1 with standard greps.
--tom
Tom Christiansen {uunet,uiucdcs,sun}!convex!tchrist
Convex Computer Corporation tchrist@convex.COM
"EMACS belongs in <sys/errno.h>: Editor too big!"
Technical Details
Message-ID:
<3603@convex.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!sun-barr!newstop!texsun!convex!convexe!tchristShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!sun-barr!newstop!texsun!convex!convexe!tchrist From: tchrist@convexe.uucp (Tom Christiansen) Newsgroups: gnu.utils.bug Subject: 3 grep problems Message-ID: <3603@convex.UUCP> Date: 1 Dec 89 22:06:43 GMT Sender: news@convex.UUCP Reply-To: tchrist@convex.Com (Tom Christiansen) Distribution: gnu Organization: CONVEX Software Development, Richardson, TX Lines: 27