Viewing posts tagged C manini
Here is small program i wrote: manini [https://github.com/zgyarmati/manini]. It's for manipulating INI config files from shell scripts. I used to use crudini [https://github.com/pixelb/crudini], but it's Python, which is not always avalible on embedded systems (like OpenWrt, Buildroot) or i don't want to install it only for this. The other way would be to parse/edit the ini file directly from shell with awk and/or sed, but it's rather error prone, so i decided to roll a command line utility for this in C, based on the library minini [https://www.compuphase.com/minini.htm].