[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y5SljoNciDZmitBS@electric-eye.fr.zoreil.com>
Date: Sat, 10 Dec 2022 16:28:14 +0100
From: Francois Romieu <romieu@...zoreil.com>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: Dave Taht <dave.taht@...il.com>, David Ahern <dsahern@...il.com>,
netdev@...r.kernel.org
Subject: Re: iproute2 - one line mode should be deprecated?
David Ahern <dsahern@...il.com> :
> On 12/9/22 11:16 AM, Dave Taht wrote:
> > I'm terribly old-fashioned myself and still use one-line mode, and the
> > kinds of scripts I use still use awk. I may be the last one standing
> > here...
> >
>
> I use oneline a lot as well for a quick list of netdevs and network
> addresses.
Either that or diff as well as socket list ('ss') here.
I'm probably < 50 vs > 50 between plain 'ss' output + masochistic awk
and one line output + gory grep/sed/cut ('ss' does not even produce
json).
'ss' oneline output option differs from 'ip' one: it does not help using
either imho :o/
Deprecation then removal won't hurt me.
--
Ueimor
Powered by blists - more mailing lists