From: Mathias Nyman <m.nyman@iki.fi>
To: Daniel Borkmann <daniel@iogearbox.net>,
Alexei Starovoitov <alexei.starovoitov@gmail.com>
Cc: netdev@vger.kernel.org, aleksi.aalto@iki.fi
Subject: Re: [PATCH net-next] ip: Add color output option
Date: Sat, 18 Apr 2015 13:22:58 +0300 [thread overview]
Message-ID: <20150418102258.GA7005@iki.fi> (raw)
In-Reply-To: <5531425E.1020206@iogearbox.net>
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 highlight these with individual colors:
>>> - interface name
>>> - ip addresse
>>> - mac addresse
>>> - up/down state
>>
>>idea looks good, but the patch doesn't apply at all, since it's
>>whitespace damaged. Also there is no SOB.
First timer; the v2 should fix these.
>You also might want to move the library bits into lib/ so that
>not only ip but also other tools could use it in future. So -c
>is neither taken in ip nor in tc or ss, that's good. ;)
>
I don't understand what you mean by "-c is neither taken in ip nor in
tc or ss". I am not finding a common place where to handle the -color
flag for ip, tc and ss, if that's what you mean. The common color.c is
under lib/ in v2 though.
Thanks for super fast feedback guys!
next prev parent reply other threads:[~2015-04-18 10:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-17 13:02 [PATCH net-next] ip: Add color output option Mathias Nyman
2015-04-17 16:44 ` Alexei Starovoitov
2015-04-17 17:26 ` Daniel Borkmann
2015-04-18 10:22 ` Mathias Nyman [this message]
2015-04-19 8:22 ` Daniel Borkmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150418102258.GA7005@iki.fi \
--to=m.nyman@iki.fi \
--cc=aleksi.aalto@iki.fi \
--cc=alexei.starovoitov@gmail.com \
--cc=daniel@iogearbox.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).