bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Erroneous claim in grep man page


From: Francis Litterio
Subject: Erroneous claim in grep man page
Date: Fri, 08 Aug 2008 10:38:35 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (windows-nt)

The grep/egrep man page says this:

  Grep understands two different versions of regular expression syntax:
  "basic" and "extended."  In GNU grep, there is no difference in
  available functionality using either syntax.  In other implementa-
  tions, basic regular expressions are less powerful.

But I see this behavior with grep 2.5.1:

        $ echo foobar | grep 'fo+bar'
        $ echo foobar | egrep 'fo+bar'
        foobar

So the claim in the man page that "there is no difference in available
functionality using either syntax", doesn't seem to be true.
--
Fran





reply via email to

[Prev in Thread] Current Thread [Next in Thread]