shell-ini-config(3)
ini_config_comment, ini_config_del, ini_config_get, ini_config_is_set, ini_config_set - functions to work with a ini-like config files.
- ini_config_comment file section [var]
- ini_config_del file section [var]
- ini_config_get file section var
- ini_config_is_set file section var
- ini_config_set file section var value
Function comments var variable in a specific section or the entire section as a whole.
Function removes variable from config file.
Function outputs var variable in a specific section from config file.
Function outputs nothing. It only checks that var variable exists in a specific section. Returns 0 if variable was found, otherwise returns 1.
Function modifies or adds a variable in the section. If this section doesn't exist, it will be created.
Authors and contributors of the programs included in the libshell package are listed in the COPYING file.
Report bugs to the authors.