configctl — Generic tool to parse and update configuration files
configctl -f
filename -a
configctl -f
filename [ -q | -v ]
[section.]
variable
...
configctl -w -f
filename [ -q | -v ]
[section.]
variable
[=value]
...
configctl expects the name of a variable to be specified on the command line, optionally following a section name delimited with a dot ("."). In write mode, a new value can be set after an equal ("=") delimiter. The following options are available:
-aPrint every value set in every section for this file.
-fFilename to parse or update.
-qDisable output on the standard stream.
-vBe more verbose.
-wUpdate a value or add a new one, and save it back into the original file.