[Tipz] colorize your grep

Ian Langworth bass at ccs.neu.edu
Thu Feb 12 15:27:11 EST 2004


On 12.Feb.2004 03:21PM -0500, Adam Katz wrote:

> color codes are just like your bash prompt.
> default color is '0;31'
> you can play with color codes like this:
>   echo -e '\033[0;31mtest'
>   (this will say "test" in red)

Just an FYI, /home/bass/bin/ansimodes will show you available
ANSI modes on your terminal.

-- 
Ian Langworth
Project Guerrilla
Northeastern University
College of Computer and Information Science




More information about the Tipz mailing list