diff options
author | dkf <dkf@noemail.net> | 2007-09-02 22:37:39 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2007-09-02 22:37:39 (GMT) |
commit | 120956c92f6480ddeafe48761937797298af6c10 (patch) | |
tree | 9d2a997cee217cd629cc43f0d7a81bd2d43a608f /doc/lsearch.n | |
parent | 407d9a9c31453632183836d36746d2b29290ba2a (diff) | |
download | tcl-120956c92f6480ddeafe48761937797298af6c10.zip tcl-120956c92f6480ddeafe48761937797298af6c10.tar.gz tcl-120956c92f6480ddeafe48761937797298af6c10.tar.bz2 |
Doc clarification.
FossilOrigin-Name: 8f3ffe661e20626f789f63565e7657c3110b5e90
Diffstat (limited to 'doc/lsearch.n')
-rw-r--r-- | doc/lsearch.n | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/lsearch.n b/doc/lsearch.n index 726f060..21c8680 100644 --- a/doc/lsearch.n +++ b/doc/lsearch.n @@ -7,7 +7,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: lsearch.n,v 1.26 2005/07/12 09:39:53 dkf Exp $ +'\" RCS: @(#) $Id: lsearch.n,v 1.27 2007/09/02 22:37:41 dkf Exp $ '\" .so man.macros .TH lsearch n 8.5 Tcl "Tcl Built-In Commands" @@ -58,8 +58,11 @@ is treated exactly like \fB-exact\fR when either \fB\-all\fR or These options may be given with all matching styles. .TP \fB\-all\fR -Changes the result to be the list of all matching indices (or all -matching values if \fB\-inline\fR is specified as well.) +. +Changes the result to be the list of all matching indices (or all matching +values if \fB\-inline\fR is specified as well.) If indices are returned, the +indices will be in numeric order. If values are returned, the order of the +values will be the order of those values within the input \fIlist\fR. .TP \fB\-inline\fR The matching value is returned instead of its index (or an empty @@ -71,7 +74,7 @@ This negates the sense of the match, returning the index of the first non-matching value in the list. .TP \fB\-start\fR\0\fIindex\fR -The list is searched starting at position \fIindex\fR. +The list is searched starting at position \fIindex\fR. .VS 8.5 The interpretation of the \fIindex\fR value is the same as for the command \fBstring index\fR, supporting simple index |