shell-config(3)
shell_config_comment, shell_config_del, shell_config_get, shell_config_set - functions to work with a shell-like config files.
- shell_config_comment "file" "name" ["delim"]
- shell_config_del "file" "name" ["delim"]
- shell_config_get "file" "name" ["delim"]
- shell_config_set "file" "name" "value" ["read-delim" ["write-delim"]]
functions to work (read, change and remove variables) with a shell-like config files.
Function puts name variable under comment in the config file. Optionally, you can define custom delimeter between name and value.
Function removes all entries (not commented) of name variable in the config file. Optionally, you can define custom delimeter between name and value.
Function searches for the name variable in the config file. Optionally, you can define custom delimeter between name and value.
Function adds or uncomments name variable in the config file.
Authors and contributors of the programs included in the libshell package are listed in the COPYING file.
Report bugs to the authors.