summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2003-03-17 14:21:39 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2003-03-17 14:21:39 (GMT)
commit602957805503408b0d8a4596bf51ac469f9e5e01 (patch)
tree161b2adb86506501c29eab6c6e9f20917d7f5c81
parent4bc5664112ad0e60507cf6d83a9937c7679560c6 (diff)
downloadtcl-602957805503408b0d8a4596bf51ac469f9e5e01.zip
tcl-602957805503408b0d8a4596bf51ac469f9e5e01.tar.gz
tcl-602957805503408b0d8a4596bf51ac469f9e5e01.tar.bz2
Fix docbug in lsearch and lsort commands for -ascii opt (which works with
unicode in the obvious order, really.) [Bug #703807]
-rw-r--r--ChangeLog7
-rw-r--r--doc/lsearch.n7
-rw-r--r--doc/lsort.n5
3 files changed, 14 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 1812e57..1641bcd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-03-17 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+
+ * doc/lsearch.n: Altered documentation of -ascii options so
+ * doc/lsort.n: they don't specify that they operate on
+ ASCII strings, which they never did
+ anyway. [Bug #703807]
+
2003-03-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* generic/tclCmdAH.c (Tcl_FormatObjCmd): Only add the modifier
diff --git a/doc/lsearch.n b/doc/lsearch.n
index 77482bf..302a1f5 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 2002/10/03 13:08:55 dkf Exp $
+'\" RCS: @(#) $Id: lsearch.n,v 1.14 2003/03/17 14:21:40 dkf Exp $
'\"
.so man.macros
.TH lsearch n 8.4 Tcl "Tcl Built-In Commands"
@@ -37,8 +37,9 @@ matching values if \fB\-inline\fR is specified as well.)
.VE 8.4
.TP
\fB\-ascii\fR
-The list elements are to be examined as ASCII strings. This option is only
-meaningful when used with \fB\-exact\fR or \fB\-sorted\fR.
+The list elements are to be examined as Unicode strings (the name is
+for backward-compatability reasons.) This option is only meaningful
+when used with \fB\-exact\fR or \fB\-sorted\fR.
.TP
\fB\-decreasing\fR
The list elements are sorted in decreasing order. This option is only
diff --git a/doc/lsort.n b/doc/lsort.n
index 34a69d1..1af8dc6 100644
--- a/doc/lsort.n
+++ b/doc/lsort.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: lsort.n,v 1.12 2001/11/14 23:38:39 hobbs Exp $
+'\" RCS: @(#) $Id: lsort.n,v 1.13 2003/03/17 14:21:41 dkf Exp $
'\"
.so man.macros
.TH lsort n 8.3 Tcl "Tcl Built-In Commands"
@@ -32,7 +32,8 @@ specified before \fIlist\fR to control the sorting process (unique
abbreviations are accepted):
.TP 20
\fB\-ascii\fR
-Use string comparison with ASCII collation order. This is the default.
+Use string comparison with Unicode code-point collation order (the
+name is for backward-compatability reasons.) This is the default.
.TP 20
\fB\-dictionary\fR
Use dictionary-style comparison. This is the same as \fB\-ascii\fR