[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131112020944.GC1258@localhost.localdomain>
Date: Tue, 12 Nov 2013 10:09:44 +0800
From: Hangbin Liu <liuhangbin@...il.com>
To: Jiri Benc <jbenc@...hat.com>
Cc: network dev <netdev@...r.kernel.org>
Subject: Re: [patch iproute2] ipaddress: add a black line for each device to
make the output more readable
On Mon, Nov 11, 2013 at 05:31:00PM +0100, Jiri Benc wrote:
> On Mon, 11 Nov 2013 23:03:30 +0800, Hangbin Liu wrote:
> > When we have multi links, the output huddled together and make it hard to read.
> > Let's use the old ifconfig output style.
>
> No. You can't break others' scripts like that.
Hi Jiri,
Thanks for you reminding.
Although I think a blank line won't have much influence for most of strong
scripts, it MAY break some. But the output will be more readable. I think that
worth it.
>
> bash$ function ip { /sbin/ip "$@" | sed '2,$s/^[0-9]*:/\n&/' ; }
Yes, this function works great. But for administrators who have lots of systems
and NICs, it's hard to add the function/alias on each system. And the output
of ifconfig, which is still used by lots of admins, looks clearly. So why
don't we also use it?
--
Thanks & Best Regards
Hangbin Liu <liuhangbin@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists