netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: David Ahern <dsahern@gmail.com>
Cc: netdev@vger.kernel.org
Subject: iproute2 - one line mode should be deprecated?
Date: Fri, 9 Dec 2022 10:13:18 -0800	[thread overview]
Message-ID: <20221209101318.2c1b1359@hermes.local> (raw)

The one line output mode of iproute2 commands was invented before I was involved.
It looks like the only real usage is for scripts to consume the output of commands.
Now that JSON is supported, the one line mode is just lingering technical debt.

Does anyone still use oneline mode?
Could it be removed in some future version of iproute?

There are still output format bugs in oneline, and some missing bits
of JSON support as well.

             reply	other threads:[~2022-12-09 18:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-09 18:13 Stephen Hemminger [this message]
2022-12-09 18:16 ` iproute2 - one line mode should be deprecated? Dave Taht
2022-12-09 18:55   ` David Ahern
2022-12-10 15:28     ` Francois Romieu

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=20221209101318.2c1b1359@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=dsahern@gmail.com \
    --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).