Configuration file format -- General

ht://Dig © 1995-1998 Andrew Scherpbier
Please see the file COPYING for license information.


All programs in the ht://Dig system (htdig, htmerge, htsearch, htfuzzy, and htnotify ) use a flexible configuration file. This configuration file is a plain ASCII text file. Each line in the file is either a comment or contains an attribute. Comment lines are blank lines or lines that start with a '#'. Attributes consist of a variable name and an associated value:

<name>:<whitespace><value><newline>
The <name> contains any alphanumeric character or underline (_) The <value> can include any character except newline. It also cannot start with spaces or tabs since those are considered part of the whitespace after the colon. It is important to keep in mind that any trailing spaces or tabs will be included.

It is possible to split the <value> across several lines of the configuration file by ending each line with a backslash (\). The effect on the value is that a space is added where the line split occurs.

Each program only extract the attributes it needs and hence it is most convenient to use the same configuration file with all ht://Dig programs. If an attribute is specified more than once in the file, only the last one will be used.

If a program needs a particular attribute and it is not in the configuration file, it will use the default value which is defined in htcommon/defaults.cc.


Last modified: Wed Jan 1 20:46:34 PST
andrew@contigo.com