summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-05-23 02:45:20 (GMT)
committerhobbs <hobbs>2000-05-23 02:45:20 (GMT)
commit74b0da139ec49407e3c2bc15444e8b941e04e1fd (patch)
tree6bed24f6837f65823906cb07a50fccfee99d1443 /doc
parentb0b4aaddd8226abedd36dee1d4bd397db7d6d53d (diff)
downloadtcl-74b0da139ec49407e3c2bc15444e8b941e04e1fd.zip
tcl-74b0da139ec49407e3c2bc15444e8b941e04e1fd.tar.gz
tcl-74b0da139ec49407e3c2bc15444e8b941e04e1fd.tar.bz2
* doc/scan.n:
* doc/array.n: minor doc fixes [Bug: 5396]
Diffstat (limited to 'doc')
-rw-r--r--doc/array.n9
-rw-r--r--doc/scan.n5
2 files changed, 8 insertions, 6 deletions
diff --git a/doc/array.n b/doc/array.n
index e61403c..0f31196 100644
--- a/doc/array.n
+++ b/doc/array.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: array.n,v 1.5 2000/05/08 21:25:30 ericm Exp $
+'\" RCS: @(#) $Id: array.n,v 1.6 2000/05/23 02:45:21 hobbs Exp $
'\"
.so man.macros
.TH array n 8.3 Tcl "Tcl Built-In Commands"
@@ -124,9 +124,10 @@ the buckets.
\fBarray unset \fIarrayName\fR ?\fIpattern\fR?
Unsets all of the elements in the array that match \fIpattern\fR (using the
matching rules of \fBstring match\fR). If \fIarrayName\fR isn't the name
-of an array variable or there are no matching elements in the array, then
-an empty string is returned. If \fIpattern\fR is omitted and is it an
-array variable, then the command unsets the entire array.
+of an array variable or there are no matching elements in the array, no
+error will be raised. If \fIpattern\fR is omitted and \fIarrayName\fR is
+an array variable, then the command unsets the entire array.
+The command always returns an empty string.
.VE 8.3
.SH KEYWORDS
diff --git a/doc/scan.n b/doc/scan.n
index b9ed0be..4e58b70 100644
--- a/doc/scan.n
+++ b/doc/scan.n
@@ -1,11 +1,12 @@
'\"
'\" Copyright (c) 1993 The Regents of the University of California.
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
+'\" Copyright (c) 2000 Scriptics Corporation.
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: scan.n,v 1.4 1999/11/19 06:33:59 hobbs Exp $
+'\" RCS: @(#) $Id: scan.n,v 1.5 2000/05/23 02:45:21 hobbs Exp $
'\"
.so man.macros
.TH scan n 8.3 Tcl "Tcl Built-In Commands"
@@ -14,7 +15,7 @@
.SH NAME
scan \- Parse string using conversion specifiers in the style of sscanf
.SH SYNOPSIS
-\fBscan \fIstring format varName \fR?\fIvarName ...\fR?
+\fBscan \fIstring format \fR?\fIvarName varName ...\fR?
.BE
.SH INTRODUCTION