buggrep - Bugs: bug #12727, --with-filename --only-matching,...


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

bug #12727: --with-filename --only-matching, not as expected

Submitted by:  None
Submitted on:  Tue Apr 19 01:23:14 2005  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue Jun 21 06:23:02 2005, comment #2:

Fixed by CVS revision 1.104 of "src/grep.c".

Charles Levert <charles_levert>
Tue Apr 19 01:46:01 2005, comment #1:

This is covered by patch #3770, as well as by a thread of discussion on the bug-grep mailing list entitled "--only-matching interacts badly with context lines and line head"; see <http://lists.gnu.org/archive/html/bug-grep/2005-02/msg00026.html>.

Charles Levert <charles_levert>
Tue Apr 19 01:23:14 2005, original submission:

--with-filename --only-matching will not print filename with each result.

echo "a a" | grep --with-filename --only-matching a

Expected result:
(standard input):a
(standard input):a

Actual result:
(standard input):a



No files currently attached


   patch dependencies.

Items that depend on this one: None found


CC list is empty


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



Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue Jun 21 06:23:02 2005charles_levertStatusConfirmed=>Fixed
Tue Apr 19 01:46:01 2005charles_levertStatusNone=>Confirmed
  Dependencies-=>Depends on patch #3770
Tue Apr 19 01:25:35 2005fulldecentCarbon-Copy-=>Added -unavailable-

Back to the top

Powered by Savane 3.1-cleanup1