HN Reader
New
Top
Best
Ask
Show
Job
Writing a Bash builtin in C to parse INI configs
30
3
7 days ago
by namanyayg
Self plug:
https://github.com/lsferreira42/bash-ini-parser
4 days ago
by lsferreira42
Huh. This made me curious about JSON which led to
https://github.com/Wiguwbe/bash-json
I have had to graft JSON into legacy bash files enough times that this is worth another look.
6 days ago
by lttlrck
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.
6 days ago
by tracnar