Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wanted to parse INI files a few weeks back and briefly looked at Augeas... the augtool syntax was a little too nonsensical or verbose for me. Felt like I had to be an expert with the entire tool even though all I wanted was 3% of its functionality.

I looked a little harder and then found jc[1] which made parsing the ini file easy, and since I didn't need full CRUD support I threw my hands up and used that instead. I _would_ like to find a fast and easy way to convert json/yaml to simple INI file syntax at the command line, or do idempotent modifications to the INI files without writing a command where 99% of it is describing to jq or awk what an INI file looks like.

[1]: https://github.com/kellyjonbrazil/jc



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: