XML Output: libxo - provide single API to output TXT, XML, JSON and HTML

Garance A Drosehn drosih at rpi.edu
Fri Aug 15 18:37:52 UTC 2014


[apologies to Alfred, who will be seeing this twice...]

On 15 Aug 2014, at 10:44, Alfred Perlstein wrote:
>
> Agree with kib.
>
> Kib, one thing that I just don't understand is the point of even being 
> able to query programs for libxo support. Does it make sense to you?


If I'm writing cross-platform scripts, then I'll want some way for the 
script to know which commands have machine-readable output, and which 
ones do not.  And unless we're going to implement machine-readable 
output in all base-system commands at once, then we're also going to 
have the issue that a command which does not do command-readable output 
today will suddenly start doing it tomorrow.

-- 
Garance Alistair Drosehn                =     drosih at rpi.edu
Senior Systems Programmer               or   gad at FreeBSD.org
Rensselaer Polytechnic Institute;             Troy, NY;  USA


More information about the freebsd-arch mailing list