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

Re: Re: format grep ouput

> Any piping will eliminate the color. That's what happens,
> at least, with ls.

The default for --color is to only do it with an
interactive terminal. You can specify --color=always to
ensure it is output even as part of a pipe. You can make
things like less pass the control characters through to the
terminal with '-R'.

Jon Dowland

Reply to: