[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <007d7ef0e49243ec82fafe3efa1d9ba3@AcuMS.aculab.com>
Date: Wed, 15 Aug 2018 15:34:31 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Stephen Hemminger' <stephen@...workplumber.org>,
David Ahern <dsahern@...il.com>
CC: Phil Sutter <phil@....cc>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Till Maas <opensource@...l.name>
Subject: RE: [iproute PATCH 4/4] lib: Enable colored output only for TTYs
From: Stephen Hemminger
> Sent: 15 August 2018 16:04
...
> > This also disables color sequence when the output is piped to a pager
> > such as less which with the -R argument can handle it just fine.
> >
> > ie., the user needs to remove the color arg when that output is not wanted.
>
> If you are going to change the color enabling, why not make it compatible
> with what ls does?
Indeed - otherwise it is very hard to debug the colour escape sequences.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Powered by blists - more mailing lists