twhich(1) - Linux man page
Name
twhich - locates a file listing in transcriptsSynopsis
twhich [ -aIrV ] [ -K command ] filetwhich -s -K command [ -aIV ] file
Description
If 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.
Options
- -a
- list all transcripts that contain file.
- -I
- be case insensitive when comparing paths.
- -K command
- specifies a command file, by default /var/radmind/client/command.K
- -s
- indicates that twhich is running on a radmind server.
- -r
- searches for each path element in file.
- -V
- displays the version number of twhich and exits.
Files
- /var/radmind/client/command.K
- name of the default command file.
- special.T
- name of the special transcript.