buggrep - Bugs: bug #24290, option to output all lines


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

bug #24290: option to output all lines

Submitted by:  Max Waterman <davidmaxwaterman>
Submitted on:  Thu 18 Sep 2008 07:12:51 AM UTC  
Category:  None Severity:  1 - Wish
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Thu 18 Sep 2008 07:12:51 AM UTC, original submission:  


Grep has nice options to match regular expressions/patterns and highlight them so that the user can easily see them.

I find a need to have grep output all lines, and just hightlight the matches as they go by. This is as oppose to it only outputting lines that contain a match.

This might seem counter intuitive, but I don't think grep by definition is for filtering lines; instead, it is for finding patterns in files/streams. So, simply highlighting the matches is a valid thing for grep to do.

Note that grep already has options to output lines containing matches and lines not containing matches, and even an option to output lines surrounding a line containing a match. That latter one can be used as a workaround, if a large enough number is given for --context.

Please consider adding such an option.

Max Waterman <davidmaxwaterman>


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 (Updated the item)
  • -email is unavailable- added by davidmaxwaterman (Submitted the item)
  • -email is unavailable- added by davidmaxwaterman

    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.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-12-04 bonzini Severity3 - Normal => 1 - Wish
    2008-09-18 davidmaxwaterman Carbon-Copy- => Added davidmaxwaterman

    Back to the top

    Powered by Savane 3.7