A utility for manipulating ini files


crudini --set [--existing] config_file section [param] [value]
        --get [--format=sh|ini] config_file [section] [param]
        --del [--existing] config_file section [param]
        --merge [--existing] config_file [section]


Examples:

# Add/Update a var
crudini --set config_file section parameter value

# Update an existing var
crudini --set --existing config_file section parameter value

# Delete a var
crudini --del config_file section parameter

# Delete a section
crudini --del config_file section

# output a value
crudini --get config_file section parameter

# output a global value not in a section
crudini --get config_file '' parameter

# output a section
crudini --get config_file section

# output a section, parseable by shell
eval $(crudini --get --format=sh config_file section)

# update an ini file from shell variable(s)
echo name="$name" | crudini --merge config_file section

# merge an ini file from another ini
crudini --merge config_file < another.ini
