Task of the day completed! :flan_hurrah:
git commit -a -m "merge libnv branch"
#FreeBSD #sysctl #libnv #libxo
https://man.freebsd.org/sysctl/9
https://man.freebsd.org/libnv/9
https://man.freebsd.org/libxo/3
#freebsd #sysctl #libnv #libxo #unix #coding #utility #opensource
WorkInProgess nsysctl - v2.0 TODO list -
https://gitlab.com/alfix/nsysctl
Get or set system state at runtime
#UNIX #FreeBSD #coding #opensource #utility #CLI #kernel #libxo #xml #json #HTML #sysctl
#unix #freebsd #coding #opensource #utility #cli #kernel #libxo #xml #json #html #sysctl
Work (coding :flan_hacker:) in Progress: add libnv to sysctl (with libxo)
#FreeBSD #sysctl #libxo #libnv #ThePowerToServe
#freebsd #sysctl #libxo #libnv #thepowertoserve
sysutils/nsysctl 0.9 is out 😅! get or set the #FreeBSD kernel state supporting #libxo and a lot of options, Tutorial: https://alfix.gitlab.io/bsd/2019/02/19/nsysctl-tutorial.html
Added examples for:
% nsysctl --libxo=text/json/html
#libxo #freebsd #sysctl #nsysctl
Fun with with libxo(3) support in w(1) on FreeBSD:
Changing the user locale is enough to produce invalid JSON output: switch language to french (or any language with ',' (not '.') as the decimal separator) and enjoy:
% LC_ALL=fr_FR.UTF-8 w --libxo json | jq
parse error: Objects must consist of key:value pairs at line 1, column 176
Output formats intended for computers should probably not be affected by the user's environment variables / preferred language.