summaryrefslogtreecommitdiffstats
path: root/doc/lsearch.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-09-02 13:58:57 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-09-02 13:58:57 (GMT)
commit8ead0890839dac71e9e564671c34021d61a3bf6e (patch)
treebae6f86a7a18431a4636e5b6c8324207068ae93f /doc/lsearch.n
parentd5076f1e339e9e35c35cbbcf1afb0e1c1a1eff0c (diff)
downloadtcl-8ead0890839dac71e9e564671c34021d61a3bf6e.zip
tcl-8ead0890839dac71e9e564671c34021d61a3bf6e.tar.gz
tcl-8ead0890839dac71e9e564671c34021d61a3bf6e.tar.bz2
Clarify meaning of [lsearch -dictionary]
Diffstat (limited to 'doc/lsearch.n')
-rw-r--r--doc/lsearch.n9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/lsearch.n b/doc/lsearch.n
index 8fd3c51..98cd8d3 100644
--- a/doc/lsearch.n
+++ b/doc/lsearch.n
@@ -6,7 +6,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.13.2.1 2003/03/17 14:25:20 dkf Exp $
+'\" RCS: @(#) $Id: lsearch.n,v 1.13.2.2 2004/09/02 13:58:58 dkf Exp $
'\"
.so man.macros
.TH lsearch n 8.4 Tcl "Tcl Built-In Commands"
@@ -47,8 +47,11 @@ meaningful when used with \fB\-sorted\fR.
.TP
\fB\-dictionary\fR
The list elements are to be compared using dictionary-style
-comparisons. This option is only meaningful when used with
-\fB\-exact\fR or \fB\-sorted\fR.
+comparisons (see \fBlsort\fR for a fuller description). This option
+is only meaningful when used with \fB\-exact\fR or \fB\-sorted\fR, and
+it is only distinguishable from the \fB\-ascii\fR option when
+the \fB\-sorted\fR option is given, because values are only
+dictionary-equal when exactly equal.
.TP
\fB\-exact\fR
The list element must contain exactly the same string as \fIpattern\fR.