On Fri, Sep 5, 2008 at 2:24 AM, Amos Shapira <[EMAIL PROTECTED]> wrote:
> 2008/9/5 Tzafrir Cohen <[EMAIL PROTECTED]>: > > You want to mark 'FINDME' but also find every line? > > > > grep --color '^\|FINDME' > > > > Or: > > > > egrep --color '^|FINDME' > > Nice one! I should have though of that. Nice indeed. It does match everything but fails to highlight. At least on EL5 using Konsole. > (Into my bag of tools). > > Another thing - to page the coloured results through less, use "less > -R" (useful to page through bloody puppet's coloured screen log). > > Cheers, > > --Amos > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] > > -- Cheers, Maxim Veksler "Free as in Freedom" - Do u GNU ?