CONFIGCTL(1)

NAME
configctl - Generic tool to parse and update configuration files

SYNOPSIS

configctl -f filename -a

configctl -f filename [-q | -v] [section.] variable...

configctl -w -f filename [-q | -v] [section.] variable [=value]...

DESCRIPTION

configctl is a generic tool for parsing and updating configuration files.

OPTIONS

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:

-a
    Print every value set in every section for this file.

-f
    Filename to parse or update.

-q
    Disable output on the standard stream.

-v
    Be more verbose.

-w
    Update a value or add a new one, and save it back into the original file.

BUGS

Issues can be listed and reported at https://www.defora.org/os/project/bug_list/27/libSystem.

SEE ALSO

configure(1)

AUTHOR

Pierre Pronchery <khorben@defora.org>
    Code and documentation.

COPYRIGHT
Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Pierre Pronchery <khorben@defora.org>

This manual page was written for the DeforaOS project (and may be used by others).

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 as published by the Free Software Foundation.