BSD Ports

textproc/confget 5.1.2 DragonFly

Read variables from INI-style configuration files

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
textproc
Package size
12.1 KiB, 23.8 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlytextproc/confget5.1.2
FreeBSDtextproc/confget5.1.2

Install

Binary package:

pkg install confget

From DPorts:

cd /usr/dports/textproc/confget && make install clean

Dependencies

Run dependencies 1

No port depends on this one.