Results 1 to 4 of 4
hi all..
Is there any text viewer highlighting some user-specific text.?
for example, I need to check up a log file which has a thousand of lines of text message.
...
- 01-02-2007 #1Just Joined!
- Join Date
- Dec 2006
- Posts
- 10
I am looking for a text viewer with highlighting
hi all..
Is there any text viewer highlighting some user-specific text.?
for example, I need to check up a log file which has a thousand of lines of text message.
But what I want to see is just error messages. so I want to highlight them to recognize more easily.
What kind of app should I get?
I am using SuSE 10.0.
Thanks.
- 01-02-2007 #2Linux Engineer
- Join Date
- Apr 2006
- Location
- Saint Paul, MN, USA / CentOS, Debian, Solaris, SuSE
- Posts
- 1,117
Hi.
There is an option in grep to color (colour) the hits. In a reasonably standard terminal emulator, these should show up ... cheers, drl
--colour[=WHEN], --color[=WHEN]
Surround the matching string with the marker find in GREP_COLOR
environment variable. WHEN may be `never', `always', or ` -- man grepWelcome - get the most out of the forum by reading forum basics and guidelines: click here.
90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
We look forward to helping you with the challenge of the other 10%.
( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )
- 01-02-2007 #3Linux Engineer
- Join Date
- Apr 2006
- Location
- Saint Paul, MN, USA / CentOS, Debian, Solaris, SuSE
- Posts
- 1,117
Hi.
As an after-thought, if you need context, grep allows you to request the display of lines before and after the matching lines -- details in man grep.
If you need the entire file listed with specific lines high-lighted you may be able to get some code and ideas from the thread at http://www.linuxquestions.org/questi...d.php?t=507423 ... cheers, drlWelcome - get the most out of the forum by reading forum basics and guidelines: click here.
90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
We look forward to helping you with the challenge of the other 10%.
( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )
- 01-02-2007 #4
vi and vim can do highlighted text, last time I checked :P


Reply With Quote