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)
