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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned 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

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 04 Dec 2009 12:17:30 PM UTCbonziniOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1