🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Tom Christiansen Fri, 01 Dec 1989 22:06
3 grep problems
#573
Author: Tom Christiansen
Date: Fri, 01 Dec 1989 22:06
27 lines
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!"
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads