| View previous topic :: View next topic |
| Author |
Message |
OdinsDream Veteran


Joined: 01 Jun 2002 Posts: 1057
|
Posted: Wed Apr 30, 2003 1:11 am Post subject: Colorizing output from shell scripts? |
|
|
I've got a simple shell script that prints out information line-by-line. Each line begins with a certain word, and I'd like to key off this word to colorize the entire line.
What's the best tool for this job? The information is coming from a command, and then being passed through an awk filter. _________________ s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi
Don't blame me. I didn't vote for him.
http://john.simplykiwi.com |
|
| Back to top |
|
 |
squiddy n00b


Joined: 31 Mar 2003 Posts: 39 Location: Colorado, USA
|
Posted: Fri May 30, 2003 12:40 am Post subject: re: Colorizing output from shell scripts? |
|
|
I haven't tried it yet myself, but you might want to check out a perl script called colorize (oddly enough ). looks pretty cool...
http://colorize.raszi.hu/ |
|
| Back to top |
|
 |
Private_X n00b

Joined: 30 May 2003 Posts: 34 Location: Germany
|
|
| Back to top |
|
 |
|