Manual Reference Pages - TWHICH (1)
twhich - locates a file listing in transcripts
-aIrV ] [
-K command ]
-K command [
twhich searches each transcript listed in the command file ( the default name is
command.K ) for
file. Transcripts are searched in precedence order.
transcript listed in the command file has the lowest precedence, the
next higher, and the last has the highest. If any special files are
special.T transcript will have the absolute highest precedence.
file must be the full decoded path (See
as listed in the transcript.
file is found,
twhich prints a message to the standard output indicating the transcript, line
number and matching line, and then exits. With the -a option,
twhich will continue to search all transcripts listed in the command file for
file. With the -r option,
twhich will search for each path component, progressively building to
file, behaving as above when matches are found. If a path element in
file is missing, twhich will print "not found" and continue looking for
the next element.
The -s option is used to run
twhich on a radmind server. When run on a server, the command file to search
must be given with the -K option. All listed transcripts
must be in the respective radmind server transcript directory.
list all transcripts that contain
be case insensitive when comparing paths.
-K command ||
specifies a command
file, by default
twhich is running on a radmind server.
searches for each path element in
displays the version number of
twhich and exits.
name of the default command file.
name of the special transcript.
The following exit values are returned:
File was found.
File was not found.
An error occurred.
|RSUG ||TWHICH (1) ||December 12, 2010 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.