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