Update of /cvsroot/radmind/radmind/man
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16776/man
Modified Files:
twhich.1
Log Message:
twhich -r: recursively twhich all path elements (patch #1470196)
Index: twhich.1
===================================================================
RCS file: /cvsroot/radmind/radmind/man/twhich.1,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** twhich.1 20 Jun 2005 15:13:36 -0000 1.5
--- twhich.1 14 Apr 2006 21:17:13 -0000 1.6
***************
*** 6,10 ****
.B twhich
[
! .RI \-aIV
] [
.BI \-K\ command
--- 6,10 ----
.B twhich
[
! .RI \-aIrV
] [
.BI \-K\ command
***************
*** 34,38 ****
transcript will have the absolute highest precedence.
.I file
! must be the full, encoded path (See
.BR fsdiff (1)),
as listed in the transcript.
--- 34,38 ----
transcript will have the absolute highest precedence.
.I file
! must be the full decoded path (See
.BR fsdiff (1)),
as listed in the transcript.
***************
*** 47,50 ****
--- 47,58 ----
will continue to search all transcripts listed in the command file for
.IR file .
+ With the -r option,
+ .B twhich
+ will search for each path component, progressively building to
+ .IR file ,
+ behaving as above when matches are found. If a path element in
+ .I file
+ is missing, twhich will print "not found" and continue looking for
+ the next element.
The -s option is used to run
***************
*** 74,77 ****
--- 82,89 ----
is running on a radmind server.
.TP 19
+ .B \-r
+ searches for each path element in
+ .IR file .
+ .TP 19
.B \-V
displays the version number of
|