Search for documents by keyword and display a list of those found
If this parameter is omitted, then all documents searched will be matched. This provides a convenient way of listing all the documents available.
HTX_PATH
search path (see §2.3). Any further documents described in
catalogue files (§10) will also be included.
Any “.htx” extension on document names is ignored.
-n
, -t
, -h
and -l
used together. Note that the URLs used for hyper-links in this output list will be suitable only for local use by a
WWW browser running on the same machine as the findme
command. They may not be suitable, for
instance, for embedding in an HTML document that will be interpreted by a remote WWW browser.
-t
prevents these subsequent searches from happening automatically. If none of the switches -n
, -t
, -h
or -l
is used, the keyword given will first be searched for in the title
of each document. If this fails to produce a match, it will next be searched for in the page headings of
each document. If this also fails to produce a match, a final search of the lines of text within each
document will be made.
If one or more of the switches -n
, -t
, -h
or -l
is used, the automatic sequence of searches described
above will not occur. Instead, only those document components specified by these switches (name,
title, page header and lines of text, respectively) will be searched. This will be done in a single pass
through all documents.
To obtain the fullest possible (but slowest) search, use the -f
option. This is equivalent to
using all of the switches -n
, -t
, -h
and -l
together.
If no documents are specified, then all directories on the HTX_PATH
search path will be inspected
for hypertext (“.htx”) documents and all those found will be searched. In addition, if any
directory on the search path contains a catalogue file, the documents it describes will also be
included in any search of document names or titles (but not of page headings or lines of
text).
If one or more document names are supplied, then the search will be restricted to the specified
documents only. If these document names are supplied without directory information, then they will
be located by following the HTX_PATH
search path and then by reading the contents of any catalogue
files, if necessary. If document names are supplied with explicit directory information,
then they must refer to local hypertext documents and no search will be made to locate
them.
If documents with the same name are found both locally in hypertext form and in one or more
catalogue files, then the hypertext version takes precedence. If a document with the same name
appears more than once in the list given for the doclist
parameter, then the first occurrence takes
precedence, except that the first occurrence of a name with explicit directory information always takes
precedence over the same document specified without directory information.
docs
and lists
those which end in a question mark (“?$” is a regular expression specifying that there should be a
question mark at the end of a line). keyword
variable and appends the resulting list (in HTML format) to a scratch file in
which an HTML page of results is being constructed. Messages about the progress of the
search are suppressed with the -q
switch. HTX_BROWSER
HTX_PATH
HTX_SERVER
HTX_TMP
$HOME/.htxtmp
is used instead (see §B.3).