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

Submitter:  None
Submitted:  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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-d3ae.
    Corresponding source code