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.

(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]

    • R... Yaacov Fenster - System Engineering Troubleshooting and other stuff
  • Re: Co... Amos Shapira
    • R... Maxim Veksler
      • ... Amos Shapira
        • ... Amos Shapira
          • ... Shlomi Fish
            • ... Maxim Veksler
              • ... Shlomi Fish
      • ... Tzafrir Cohen
        • ... Amos Shapira
          • ... Tzafrir Cohen
            • ... Maxim Veksler
              • ... Amos Shapira
          • ... Maxim Veksler
            • ... Amos Shapira
  • Re: Co... Yedidyah Bar-David

Reply via email to