Colorize text matching a regex through a pipe?
David Kramer
david-8uUts6sDVDvs2Lz0fTdYFQ at public.gmane.org
Sat Jan 22 00:33:09 EST 2011
On 01/20/2011 12:42 AM, Rajiv Aaron Manglani wrote:
>> On Tue, Jan 18, 2011 at 10:24:03PM -0500, David Kramer wrote:
>>> Thanks. I played with this, and with colortail. I didn't really like
>>> either solution in the end. [e]grep only allows one color and one
>>> pattern, and colortail doesn't actually work as a filter (the author
>>> "has a patch for that").
>
> have you looked at multitail http://www.vanheusden.com/multitail/ ?
I've used it before, but I didn't think of using it for this, because
I'm not always colorizing a tailed file. Although I already have a
solution, I might play with it anyway.
Thanks.
More information about the Discuss
mailing list