grep - Bugs: bug #28906, grep -Ax -q should print context...
You are not allowed to post comments on this tracker with your current authentication level.
bug #28906: grep -Ax -q should print context but not matching line
Submitter: | Chris <seahen> | ||
Submitted: | Mon 15 Feb 2010 05:18:54 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | Fixed |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed |
Mon 08 Mar 2010 08:52:07 AM UTC, comment #2: |
Paolo Bonzini <bonzini> |
Fri 19 Feb 2010 01:28:52 PM UTC, comment #1: I don't think it would be adequate to shoehorn this into -q. You can do this with
|
Paolo Bonzini <bonzini> |
Mon 15 Feb 2010 05:18:54 PM UTC, original submission:
Binary package hint: grep
|
Chris <seahen> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
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.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2010-03-08 | bonzini | Status | None | Fixed | |
Open/Closed | Open | Closed |
Powered by Savane 3.13-d3ae.
Corresponding source code
With git grep, you can use
grep --no-group-separator -A1 foo | grep -v foo
Thank you for the bug report. This bug has been fixed in the
development sources, which can be downloaded using git from
git://git.sv.gnu.org/grep.git