bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #24290] option to output all lines


From: db
Subject: Re: [bug #24290] option to output all lines
Date: Thu, 18 Sep 2008 18:16:41 +0200
User-agent: KMail/1.9.9

On Thursday 18 September 2008, 09:12, Max Waterman wrote:

> 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 is easily achieved with

grep --color -e 'pattern' -e '^'

(for example)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]