1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229
|
<!doctype html public "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Command Line Options for WN Server wndex Utility</title>
<link rev="made" href="mailto:john@math.nwu.edu">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="last-modified" content="Fri, 09 Oct 1998 18:18:09 GMT">
<meta http-equiv="keywords" content="WN wndex utility options">
</head>
<body bgcolor="#FFFFFF">
<p>
<a href="http://hopf.math.nwu.edu/"><img
src="images/powered.jpg"
border="0"
width="190"
height="41"
align="right"
alt="WN home page"
></a>
</p>
<strong>Version 2.0.3</strong>
<br>
<!-- pnuts --> <a href="appendixA1.html">[Previous]</a> <a href="appendixB.html">[Next]</a> <a href="manual.html">[Up]</a> <a href="manual.html">[Top]</a> <a href="dosearch.html">[Search]</a> <a href="docindex.html">[Index]</a>
<br clear="right">
<hr size="4">
<!-- #start -->
<h2 align="center">Command Line Options for <em>WN</em> Server
<code>wndex</code> Utility</h2>
<hr size="4">
<p>
These are the command line options for the <code>wndex</code> utility
used to process <a href="index_desc.html#index"><code>index</code></a>
files.
</p>
<dl>
<dt>
<a name="a_opt"><code><b>-a</b></code></a> -- Serveall (mnemonic
"all").
</dt>
<dd>
<p>
Using the <code><b>-a</b></code> option is equivalent to putting the
directive <code><a
href="appendixB.html#ddir.attributes.serveall">Attributes=serveall</a></code>
at the beginning of the <a
href="index_desc.html#index"><code>index</code></a> file (or files)
being processed, with <em>one important exception</em>. If
<code>wndex</code> is used with this option in a directory which
contains no <a href="index_desc.html#index"><code>index</code></a>
file, it will behave as if there were an <a
href="index_desc.html#index"><code>index</code></a> file containing
only the line <code><a
href="appendixB.html#ddir.attributes.serveall">Attributes=serveall</a></code>.
This allows the creation of an <code>index.cache</code> file
permitting access to all files in a directory without first creating
an <a href="index_desc.html#index"><code>index</code></a> file. This
can be used with the <a href="#r_opt"><code><b>-r</b></code></a>
option to grant access to a directory hierarchy without the need to
create an <a href="index_desc.html#index"><code>index</code></a> file
in each directory.
</p>
</dd>
<dt>
<a name="c_opt"><code><b>-c</b> <i>file_name</i></code></a> -- Use
"<code><i>file_name</i></code>" instead of "<code>index.cache</code>".
</dt>
<dd>
<p>
Causes <code>wndex</code> to write its output to the file
"<code><i>file_name</i></code>" rather than the default
"<code>index.cache</code>".
</p>
</dd>
<dt>
<a name="d_opt"><code><b>-d</b> <i>dir_name</i></code></a> -- Process
directory "<code><i>dir_name</i></code>".
</dt>
<dd>
<p>
When <code>wndex</code> is run with this option it will process the
directory "<code><i>dir_name</i></code>" rather than the current
directory. It will use the <a
href="index_desc.html#index"><code>index</code></a> file in
"<code><i>dir_name</i></code>" and write the file
"<code><i>dir_name</i>/index.cache</code>".
</p>
</dd>
<dt>
<a name="i_opt"><code><b>-i</b> <i>file_name</i></code></a> -- Use
"<code><i>file_name</i></code>" instead of "<code>index</code>".
</dt>
<dd>
<p>
Causes <code>wndex</code> to read its input from the file
"<code><i>file_name</i></code>" rather than the default
"<code>index</code>".
</p>
</dd>
<dt>
<a name="q_opt"><code><b>-q</b></code></a> -- Use quiet mode.
</dt>
<dd>
<p>
Causes <code>wndex</code> to suppress any warning messages (except
fatal errors) sent to UNIX <a
href="http://linux-howto.com/man/man3/stdio.3.html"><code>stderr(3)</code></a>
stream as well as other informational messages.
</p>
</dd>
<dt>
<a name="r_opt"><code><b>-r</b></code></a> -- Recursively process
subdirectories.
</dt>
<dd>
<p>
Causes <code>wndex</code> to recursively descend through some
subdirectories and process them as well. By default it processes
only those subdirectories listed in the <a
href="appendixB.html#ddir.subdirs">Subdirs=</a> directory directive.
However, this can be changed to be either all subdirectories or all
subdirectories containing an <a
href="index_desc.html#index"><code>index</code></a> file by use of
the <a href="#s_opt"><code><b>-s</b></code></a> option. If the
<code><b>-r</b></code> and <a
href="#a_opt"><code><b>-a</b></code></a> are used together then the
default is to use all subdirectories.
</p>
</dd>
<dt>
<a name="s_opt"><code><b>-s all</b>|<b>index</b></code></a> -- Set the
value of the <a href="appendixB.html#ddir.subdirs">Subdirs=</a>
directory directive automatically.
</dt>
<dd>
<p>
Using the "<code>wndex -s index</code>" command with an <a
href="index_desc.html#index"><code>index</code></a> file containing
no <a href="appendixB.html#ddir.subdirs">Subdirs=</a> directory
directive is equivalent to having such a directive whose value is a
list of all subdirectories which contain an <a
href="index_desc.html#index"><code>index</code></a> file. Using the
"<code>wndex -s all</code>" command with an <a
href="index_desc.html#index"><code>index</code></a> file containing
no <a href="appendixB.html#ddir.subdirs">Subdirs=</a> directory
directive is equivalent to having such a directive whose value is a
list of all subdirectories of the directory being processed. If the
<a href="#r_opt"><code><b>-r</b></code></a> and <a
href="#a_opt"><code><b>-a</b></code></a> are used together then
"<code>wndex -s all</code>" is automatically assumed. This
can be overridden by using a real <a
href="appendixB.html#ddir.subdirs">Subdirs=</a> directory directive
or using "<code>wndex -s index</code>".
</p>
</dd>
<dt>
<a name="v_opt"><code><b>-v</b></code></a> -- Use verbose mode.
</dt>
<dd>
<p>
Causes <code>wndex</code> to be extra verbose.
</p>
</dd>
<dt>
<a name="V_opt"><code><b>-V</b></code></a> -- Print version.
</dt>
<dd>
<p>
Causes <code>wndex</code> to print its version and exit.
</p>
</dd>
<dt>
<a name="x_opt"><code><b>-x</b></code></a> -- Use UNIX <a
href="http://linux-howto.com/man/man3/stdio.3.html"><code>stdout(3)</code></a>
stream.
</dt>
<dd>
<p>
Causes <code>wndex</code> to read from the UNIX <a
href="http://linux-howto.com/man/man3/stdio.3.html"><code>stdin(3)</code></a>
stream instead of the file <code>index</code> and write to the UNIX
<a
href="http://linux-howto.com/man/man3/stdio.3.html"><code>stdout(3)</code></a>
stream rather than the file <code>index.cache</code>.
</p>
</dd>
</dl>
<!-- #end -->
<hr size="4">
<address>
<em>WN</em> version 2.0.3
<br>
Copyright © 1998 <a href="mailto:john@math.nwu.edu">John Franks
<john@math.nwu.edu></a>
<br>
licensed under the <a href="http://www.opencontent.org/opl.html">
OpenContent Public License</a>
<br>
last-modified: Fri, 09 Oct 1998 18:18:09 GMT
</address>
<!-- pnuts --> <a href="appendixA1.html">[Previous]</a> <a href="appendixB.html">[Next]</a> <a href="manual.html">[Up]</a> <a href="manual.html">[Top]</a> <a href="dosearch.html">[Search]</a> <a href="docindex.html">[Index]</a>
</body>
</html>
|