FreeBSD: short introduction on to how to use libxo

Ғылым және технология

The commands available in FreeBSD are getting extended with libxo; this small library permits to format the output of the commands in several formats, in particular JSON, XML, and HTML. This allows to write automation scripts not only in a much faster way, but also in a more reliable way than before - and Dev(Sec)Ops can profit tremendously from this...
#FreeBSD

Пікірлер: 10

  • @a.h.5943
    @a.h.59436 күн бұрын

    Awesome content as always. Subscribed!

  • @BSDJedi

    @BSDJedi

    6 күн бұрын

    Thank you :-)

  • @mikepartin571
    @mikepartin5716 күн бұрын

    I knew about libxo, but not that so many utilities were already patched to use it. This opens up alot of doors for automation scripts. Fantastic content and work!

  • @BSDJedi

    @BSDJedi

    5 күн бұрын

    Yes, indeed very nice for automation :-) Thank you for passing by

  • @mikepartin571

    @mikepartin571

    5 күн бұрын

    @@BSDJedi if you keep putting out fascinating *BSD content, you can bet on me keepin on passing by :D

  • @stefs1
    @stefs15 күн бұрын

    excellent Video, subbed :)

  • @BSDJedi

    @BSDJedi

    4 күн бұрын

    Very glad you liked :-) Thanks for the sub.

  • @Kolor-kode
    @Kolor-kode6 күн бұрын

    Very handy util it seems, just seems a shame it's not more widely adopted into the system utils. I've used the jc python package on Linux before but this seems much cleaner, the benefits of using and OS over a distro I guess.

  • @BSDJedi

    @BSDJedi

    6 күн бұрын

    Thanks :-) From what I understand, more and more system utilities are getting the "libxo treatment"; it just takes time but also requires that someone is willing to do the changes and commit back to the FreeBSD project... The jc tool is really neat - I did not know about it before; always learning... IMHO, the advantage of incorporating libxo directly into the binary is that no text processing needs to happen, therefore no chance to get anything garbled up (e.g. due to the potentially different output produced by different binary versions, or misinterpretation of spaces/tabs...) - and that is probably what you mean with "much cleaner" :-)

  • @Kolor-kode

    @Kolor-kode

    6 күн бұрын

    @@BSDJedi Nothing happens quickly in the BSD ecosystem it seems, the smaller pool of developers (compared to Linux) is obviously one reason. Keep up the good work, much appreciated.

Келесі