freebsd-ports/textproc/confget/pkg-descr
Peter Pentchev be3a678fba Add a port of confget-1.01, a simple tool to read variables from
configuration files and display their values in a way suitable for
use in shell scripts.
2009-03-18 11:12:04 +00:00

14 lines
776 B
Text

The confget utility examines a INI-style configuration file and retrieves
the value of the specified variables from the specified section.
Its intended use is to let shell scripts use the same INI-style
configuration files as other programs, to avoid duplication of data.
The confget utility may retrieve the values of one or more variables,
list all the variables in a specified section, list only those whose names
or values match a specified pattern (shell glob or regular expression), or
check if a variable is present in the file at all. It has a "shell-quoting"
output mode that quotes the variable values in a way suitable for passing
them directly to a Bourne-style shell.
WWW: http://devel.ringlet.net/textproc/confget/
Author: Peter Pentchev <roam@ringlet.net>