On Thu, Sep 04, 2008 at 02:31:02PM +0300, Maxim Veksler wrote: > Hi Amos, > > On Thu, Sep 4, 2008 at 2:05 PM, Amos Shapira <[EMAIL PROTECTED]> wrote: > > 2008/9/4 Maxim Veksler <[EMAIL PROTECTED]>: > >> Hi, > >> > >> Someone has a good recommendation for a log syntax highlighter ? > >> > >> I have my application logs where I need to quickly highlight some text, in > >> that case "name=" the output is verbose as I'm running in TRACE. > > > > "grep --color --name={1}" > > > > That would actually be great and is exactly the kind of solution I'm > searching for. The only problem with the grep --color apporoach is > that It would only show me the lines that contain the search term. I > want to see the whole scrolling log and highlight what interested me.
You want to mark 'FINDME' but also find every line? grep --color '^\|FINDME' Or: egrep --color '^|FINDME' -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849754 | | friend ================================================================= 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]