Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] man pages without the colour


On Fri, Dec 02, 2005 at 10:13:03PM +1100, Daniel Bush wrote:
> Thanks Ken.
> I forgot about directly piping it like that.
> But I still got the colour in less.  I was stumped for a while before trying
> my famous sed mangling-script again:
>     man xyz | sed -e 's/.^H//g' | less
> and lo! crisp white manpages did materialise before me!
> Ugly hack though.

I think the standard thing to use is

	col -b

It has roughly the same effect as that sed.

Matt