bug-grep
[Top][All Lists]
Advanced

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

[bug-grep] [bugs #12404] egrep > doesn't work


From: anonymous
Subject: [bug-grep] [bugs #12404] egrep > doesn't work
Date: Mon, 21 Mar 2005 09:19:05 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12404>

                 Summary: egrep \> doesn't work
                 Project: grep
            Submitted by: None
            Submitted on: Mon 03/21/2005 at 09:19
                Category: None
                Severity: 5 - Average
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

When grep is not linked against PCRE, the \> metacharacter combination to
anchor the expression to the end of a word does not function as expected (and
as documented in the Info documentation section 5) when invoked as egrep.

grep \< works
grep \> works
egrep \< works
egrep \> doesn't work

When attempting to specify a pattern including "\>" with egrep, I get no
matches.  I'm unsure whether this is literally attempting to match a ">", but
it certainly doesn't anchor the preceeding expression to the end of a word.

While \> is not strictly a POSIX compliant extended regular expression, it's
very useful and isn't a POSIX compliant basic regular expression either!







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12404>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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