buggrep - Bugs: bug #26214, -c only returns half of result...


You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  None
Submitted on:  Fri 17 Apr 2009 11:39:15 AM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Fri 04 Dec 2009 12:17:30 PM UTC, comment #1: 

Cannot reproduce in grep 2.5.4.

Paolo Bonzini <bonzini>
Fri 17 Apr 2009 11:39:15 AM UTC, original submission:  

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



No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bonzini (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-12-04 bonzini Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.6