summaryrefslogtreecommitdiff
path: root/README
blob: e5b55c507d7b6308b38ea0627a29d2c5aff12f9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
This is confget, a simple utility for parsing configuration files and
extracting values from them.  It currently parses INI-style files and
HTTP GET variables from CGI requests, but support for other formats
(e.g. HTTP POST, Java property files) is in the works.

The confget utility is mainly intended to be used in shell scripts for
fetching values out of configuration files.

To compile confget, your standard C library must provide one of two
functions: either getline(3) on Linux or other systems or fgetln(3) on
BSD-like systems.  The confget build procedure should be able to
autodetect the presence of a suitable line reading function; if it fails
on your platform, please report this to the author!

You may need to tweak the PCRE_CPPFLAGS and PCRE_LIBS variables to
indicate the presence or lack of PCRE support, the location of
the pcre.h header file, and the name and location of the libpcre.so
library itself.

Comments: Peter Pentchev <roam@ringlet.net>