summaryrefslogtreecommitdiffstats
path: root/doc
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)
commita8f4e2bb10cc1a0cafe19fdafea60f829b91a3d0 (patch)
treebae6f86a7a18431a4636e5b6c8324207068ae93f /doc
parente32969c0e42756b470ee2033e4d9ac6124adaba2 (diff)
downloadtcl-a8f4e2bb10cc1a0cafe19fdafea60f829b91a3d0.zip
tcl-a8f4e2bb10cc1a0cafe19fdafea60f829b91a3d0.tar.gz
tcl-a8f4e2bb10cc1a0cafe19fdafea60f829b91a3d0.tar.bz2
Clarify meaning of [lsearch -dictionary]
Diffstat (limited to 'doc')
-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.