News for hackers. Stuff that matters.
Re:Bash-ini-parser: Advanced bash INI parser library by cryptonector on Friday April 04, 2025 @01:36AM (#43578683)
An ini->JSON converter + jq should be enough.
Re:Bash-ini-parser: Advanced bash INI parser library by mschuster91 on Friday April 04, 2025 @04:04AM (#43579474)
For ingestion, yes, but if you want to write back the ini, you have now lost all comments. Besides, jq's syntax is ... arcane.
Re:Bash-ini-parser: Advanced bash INI parser library by cryptonector on Saturday April 05, 2025 @09:22PM (#43598202)
You get to choose the JSON schema for ini, and so you can choose to preserve comments. As to jq as a language, if you get used to it it's really awesome.