| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<title> |
| 5 |
ht://Dig: Configuration file format -- Attribute Types |
| 6 |
</title> |
| 7 |
</head> |
| 8 |
<body bgcolor="#eef7ff"> |
| 9 |
<h1> |
| 10 |
Configuration file format -- Attribute Types |
| 11 |
</h1> |
| 12 |
<p> |
| 13 |
ht://Dig Copyright © 1995-2004 <a href="THANKS.html">The ht://Dig Group</a><br> |
| 14 |
Please see the file <a href="COPYING">COPYING</a> for |
| 15 |
license information. |
| 16 |
</p> |
| 17 |
<hr size="4" noshade> |
| 18 |
<p> |
| 19 |
The meaning of the attribute |
| 20 |
value depends on the attribute itself. In general, the values |
| 21 |
can be of several types: |
| 22 |
</p> |
| 23 |
<dl> |
| 24 |
<dt> |
| 25 |
<strong>String</strong> |
| 26 |
</dt> |
| 27 |
<dd> |
| 28 |
Any string of characters except newline. |
| 29 |
</dd> |
| 30 |
<dt> |
| 31 |
<strong>String List</strong> |
| 32 |
</dt> |
| 33 |
<dd> |
| 34 |
A sequence of strings separated by whitespace. Individual |
| 35 |
strings within the list cannot be quoted and therefore |
| 36 |
cannot contain whitespace. |
| 37 |
</dd> |
| 38 |
<dt> |
| 39 |
<strong>Quoted String List</strong> |
| 40 |
</dt> |
| 41 |
<dd> |
| 42 |
A sequence of strings separated by whitespace. Individual |
| 43 |
strings within the list may be quoted using single or double |
| 44 |
quotes. The quotes are needed when the individual strings |
| 45 |
contain whitespace. If you want a quote mark or a backslash |
| 46 |
to be inserted as-is into a string, you must preceed it with |
| 47 |
a backslash. |
| 48 |
</dd> |
| 49 |
<dt> |
| 50 |
<strong>Pattern List</strong> |
| 51 |
</dt> |
| 52 |
<dd> |
| 53 |
A sequence of patterns separated by whitespace. Normal |
| 54 |
strings are considered patterns to be matched |
| 55 |
exactly. Strings surrounded by [ and ] are considered |
| 56 |
regular expressions (ignoring the outer [] characters). |
| 57 |
</dd> |
| 58 |
<dt> |
| 59 |
<strong>Number</strong> |
| 60 |
</dt> |
| 61 |
<dd> |
| 62 |
A string that represents a number. The attribute determines |
| 63 |
if the number has to be a pure integer or if it can be a |
| 64 |
floating point number. |
| 65 |
</dd> |
| 66 |
<dt> |
| 67 |
<strong>Boolean</strong> |
| 68 |
</dt> |
| 69 |
<dd> |
| 70 |
A string that represents a truth value. Acceptable truth |
| 71 |
values are given below.<br> |
| 72 |
For <em>true</em>: |
| 73 |
<ul> |
| 74 |
<li> |
| 75 |
yes |
| 76 |
</li> |
| 77 |
<li> |
| 78 |
true |
| 79 |
</li> |
| 80 |
<li> |
| 81 |
1 |
| 82 |
</li> |
| 83 |
</ul> |
| 84 |
For <em>false</em>: |
| 85 |
<ul> |
| 86 |
<li> |
| 87 |
no |
| 88 |
</li> |
| 89 |
<li> |
| 90 |
false |
| 91 |
</li> |
| 92 |
<li> |
| 93 |
0 |
| 94 |
</li> |
| 95 |
</ul> |
| 96 |
</dd> |
| 97 |
</dl> |
| 98 |
<hr size="4" noshade> |
| 99 |
|
| 100 |
Last modified: $Date: 2004/05/28 13:15:18 $ |
| 101 |
|
| 102 |
</body> |
| 103 |
</html> |