Re: [PATCH net-next] ip: Add color output option

2015-04-19 Thread Daniel Borkmann
On 04/18/2015 12:22 PM, Mathias Nyman wrote: ... I don't understand what you mean by "-c is neither taken in ip nor in tc or ss". That just means we could in future consider to consistently add support for -c flag in those tools, too. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH net-next] ip: Add color output option

2015-04-18 Thread Mathias Nyman
On 2015-04-17 19:26+0200, Daniel Borkmann wrote: On 04/17/2015 06:44 PM, Alexei Starovoitov wrote: On Fri, Apr 17, 2015 at 04:02:02PM +0300, Mathias Nyman wrote: It is hard to quickly find what you are looking for in the output of the ip command. Color helps. This patch adds a '-c' flag to hig

Re: [PATCH net-next] ip: Add color output option

2015-04-17 Thread Daniel Borkmann
On 04/17/2015 06:44 PM, Alexei Starovoitov wrote: On Fri, Apr 17, 2015 at 04:02:02PM +0300, Mathias Nyman wrote: It is hard to quickly find what you are looking for in the output of the ip command. Color helps. This patch adds a '-c' flag to highlight these with individual colors: - interfac

Re: [PATCH net-next] ip: Add color output option

2015-04-17 Thread Alexei Starovoitov
On Fri, Apr 17, 2015 at 04:02:02PM +0300, Mathias Nyman wrote: > It is hard to quickly find what you are looking for in the output of the ip > command. Color helps. > > This patch adds a '-c' flag to highlight these with individual colors: > - interface name > - ip addresse > - mac addresse

[PATCH net-next] ip: Add color output option

2015-04-17 Thread Mathias Nyman
It is hard to quickly find what you are looking for in the output of the ip command. Color helps. This patch adds a '-c' flag to highlight these with individual colors: - interface name - ip addresse - mac addresse - up/down state --- include/color.h | 17 ip/Makefile