News for hackers. Stuff that matters.
Re:There are real reasons for Linux to replace ifconfig, net... by sdfgdfhjdgj on Friday May 25, 2018 @12:15PM (#17155153)
They won't. In fact it is already implemented. Try `ip -json addr`.

Not all subcommands support it though.

Re:There are real reasons for Linux to replace ifconfig, net... by twic on Tuesday May 29, 2018 @01:49PM (#17181396)
There's another universe near ours where libxo caught on widely, and every command supports text and JSON output out of the box:

https://juniper.github.io/libxo/libxo-manual.html

Re:There are real reasons for Linux to replace ifconfig, net... by rascul on Friday May 25, 2018 @06:32PM (#17158646)
Which version has implemented this? It's not available here.

  rascul@coyote:~$ ip -json addr
  Option "-json" is unknown, try "ip -help".
  rascul@coyote:~$ ip -V
  ip utility, iproute2-ss160111
Re:There are real reasons for Linux to replace ifconfig, net... by rascul on Friday May 25, 2018 @11:32PM (#17160044)
Looks like it was added in August of last year. Obviously newer than what my distribution has.

https://git.kernel.org/pub/scm/network/iproute2/iproute2.git...