On Friday 14 November 2003 16:38, Andrew Gaffney wrote:
I'm really looking for something more generic. I just used emerge as an example. I want to be able to strip color out of *any* output.
otoh, sed -r "s:[^[][[][0-9]{1,2}[;]{0,1}[0-9]{0,2}[m]::g" should filter out ANSI.
The first ^[ is inserted with CTRL+V ESC
This is the kind of thing that I was originally looking for, but I believe 'tee' may be a better solution.
-- Andrew Gaffney
-- [EMAIL PROTECTED] mailing list