bug-grep
[Top][All Lists]
Advanced

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

[bug #26214] -c only returns half of result count when using perl regexp


From: anonymous
Subject: [bug #26214] -c only returns half of result count when using perl regexp
Date: Fri, 17 Apr 2009 11:39:16 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

URL:
  <http://savannah.gnu.org/bugs/?26214>

                 Summary: -c only returns half of result count when using
perl regexp
                 Project: grep
            Submitted by: None
            Submitted on: Fr 17 Apr 2009 11:39:15 UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

echo -e "abc\nabc\n" | grep  -cP --regexp="abc" returns 1
echo -e "abc\nabc\n" | grep  -c --regexp="abc"  returns 2




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?26214>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

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