summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2004-09-02 13:58:56 (GMT)
committerdkf <dkf@noemail.net>2004-09-02 13:58:56 (GMT)
commitb269b2c34edfe5df456bc3b70ca1bcca13025f71 (patch)
treebae6f86a7a18431a4636e5b6c8324207068ae93f /doc
parent3cf2e6aa483dd3d37deb0f7dd75f2c00160207ec (diff)
downloadtcl-b269b2c34edfe5df456bc3b70ca1bcca13025f71.zip
tcl-b269b2c34edfe5df456bc3b70ca1bcca13025f71.tar.gz
tcl-b269b2c34edfe5df456bc3b70ca1bcca13025f71.tar.bz2
Clarify meaning of [lsearch -dictionary]
FossilOrigin-Name: c0bfca3cf32c22ae654aa3d6488bf1178ea37b8f
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.