Forcing Colored Output

Andy Armstrong andy at hexten.net
Tue Feb 19 11:26:55 UTC 2008


On 19 Feb 2008, at 11:13, Ovid wrote:
> Pursuant to comments here:
>
>  http://www.perlmonks.org/?node_id=667414
>
> Since '--color' is the default, people never specify it.  It might be
> nice if specifying that *forced* color and we don't try to check if  
> the
> output is a TTY.  That way, someone can pipe to 'less -r' and still  
> get
> the nicely colored output.
>
> 'ack' already allows this (though it still reformats output when piped
> to less).


Yeah, I like that and I can't see any reason not to do it.

-- 
Andy Armstrong, Hexten






More information about the tapx-dev mailing list