Re:jc: Converts the output of popular command-line tools to ...
by bryanlarsen on Friday December 08, 2023 @10:09AM
(#38569927)
It was a really pleasant surprise to find the "-j" option to do this for the "ip" command from the iproute2 project.
Re:jc: Converts the output of popular command-line tools to ...
by mr_mitm on Friday December 08, 2023 @11:03AM
(#38570547)
AFAIK the idea is that if you need that kind of interoperability in unix/gnu, you're supposed to write your tool in C and include some libraries. Clearly not realistic in many use cases.
The even lower hanging fruit is to implement json output as a command line argument in all cli tools. I would love to see this done for the gnu core utils.