Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Colorize text matching a regex through a pipe?



On Wed, Dec 29, 2010 at 11:52 AM, David Kramer <david-8uUts6sDVDvs2Lz0fTdYFQ at public.gmane.org> wrote:
> Is there a linux tool that can work as a pipe (read stdin, write to stdout) and colorize any text
> matching an regex? ?If not, I'll have to write one. ?Not that hard, but I would hate to reinvent
> it.

If it's the last thing in your pipe, grep --color works great, but
somehow I sense that's not what you're asking for. What's your desired
output format?

Gordon





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org