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


You are not allowed to post comments on this tracker with your current authentification 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: NoneSeverity: 1 - Wish
Item Group: NoneStatus: None
Privacy: PublicAssigned 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
  • -unavailable- added by bonzini (Updated the item)
  • -unavailable- added by davidmaxwaterman (Submitted the item)
  • -unavailable- added by davidmaxwaterman

    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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 04 Dec 2009 08:04:41 PM UTCbonziniSeverity3 - Normal=>1 - Wish
    Thu 18 Sep 2008 07:12:51 AM UTCdavidmaxwatermanCarbon-Copy-=>Added davidmaxwaterman

    Back to the top

    Powered by Savane 3.1-cleanup