Re: [PATCH v3 iproute2] ip: Add color output option

2015-04-28 Thread Mathias Nyman
On 2015-04-27 16:37-0700, Stephen Hemminger wrote: > Patch does not apply cleanly to current version in git. > All patches should be based off of > > http://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git > > I suspect your mailer is corrupting whitespace. > Maybe easier to sen

Re: [PATCH v3 iproute2] ip: Add color output option

2015-04-27 Thread Stephen Hemminger
Patch does not apply cleanly to current version in git. All patches should be based off of http://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git I suspect your mailer is corrupting whitespace. Maybe easier to send patch as an attachment. $ patch -p1 < ~/Downloads/v3-iproute2-

[PATCH v3 iproute2] ip: Add color output option

2015-04-24 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 address - mac address - up/down state Signed-off-by: Mathias Nyman --- v3 - Rebase on top of ip