LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 08-05-2009, 10:23 AM   #1
nocif
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
Seeking for simple tool that colors text passed through pipe


Hi all,

I was wondering if there is a command line tool that coold be placed on an output of a command through a pipe (like a tail, or cat command) and that colorizes matched patterns given as arguments. This could be really useful when live monitoring log files through tail command without having to use grep to filter text. It could allow to see the matched patterns in different color without having to truncate parts of the text scrolling.

Does somebody knows of the existence of such thing ? If no can someone guide me through with libs to use so I could write a tool like that.(Mainly text coloration libs)

Thanks
 
Old 08-05-2009, 01:14 PM   #2
scott_audio
Member
 
Registered: Jul 2009
Location: USA
Distribution: openSUSE 11.1, Kubuntu 9.04
Posts: 35

Rep: Reputation: 16
http://tldp.org/HOWTO/Bash-Prompt-HOWTO/c327.html

http://www.faqs.org/docs/abs/HTML/colorizing.html

i also remember a ScriptEchoColor project on sourceforge.net, no idea if it's any good or not.

I'm new and have no idea what I'm talking about, but maybe that will help in some small way
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change colors - XFCE icon text and text background bgryderclock Linux - Software 6 09-19-2014 03:49 AM
LXer: Simple Text Transformation Tool LXer Syndicated Linux News 0 05-08-2008 07:20 AM
Is there a variable that represents data passed in a pipe HGeneAnthony Linux - Newbie 1 02-28-2007 12:01 AM
simple question seeking simple answer enzo250gto Linux - Newbie 1 10-27-2001 05:08 AM


All times are GMT -5. The time now is 08:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration