Writing a Bash builtin in C to parse INI configs (mbuki-mvuki.org) 30 points by namanyayg 1y ago ↗ HN
[–] tracnar 1y ago ↗ Interesting! A use case I could see for using builtins would be to gradually rewrite a bash script in some other language, as otherwise you have to do it through subprocess which can be slow and inconvenient.
[–] lttlrck 1y ago ↗ Huh. This made me curious about JSON which led to https://github.com/Wiguwbe/bash-jsonI have had to graft JSON into legacy bash files enough times that this is worth another look.
3 comments
[ 63.3 ms ] story [ 658 ms ] threadI have had to graft JSON into legacy bash files enough times that this is worth another look.