Configuration file format -- Attribute Types

ht://Dig Copyright © 1995-2004 The ht://Dig Group
Please see the file COPYING for license information.


The meaning of the attribute value depends on the attribute itself. In general, the values can be of several types:

String
Any string of characters except newline.
String List
A sequence of strings separated by whitespace. Individual strings within the list cannot be quoted and therefore cannot contain whitespace.
Quoted String List
A sequence of strings separated by whitespace. Individual strings within the list may be quoted using single or double quotes. The quotes are needed when the individual strings contain whitespace. If you want a quote mark or a backslash to be inserted as-is into a string, you must preceed it with a backslash.
Pattern List
A sequence of patterns separated by whitespace. Normal strings are considered patterns to be matched exactly. Strings surrounded by [ and ] are considered regular expressions (ignoring the outer [] characters).
Number
A string that represents a number. The attribute determines if the number has to be a pure integer or if it can be a floating point number.
Boolean
A string that represents a truth value. Acceptable truth values are given below.
For true: For false:

Last modified: $Date: 2004/06/14 08:49:46 $