summaryrefslogtreecommitdiffstats
path: root/doc/list.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-10-27 12:52:31 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-10-27 12:52:31 (GMT)
commit5bc57d7b0f63d86fc383565d69f7704943fff94d (patch)
tree3ed6ba33b7a0eb1bb7d89c83f86bb2f420d5284a /doc/list.n
parent7ea5d4dbe8b82a86701cec95132a8a9557a5f105 (diff)
downloadtcl-5bc57d7b0f63d86fc383565d69f7704943fff94d.zip
tcl-5bc57d7b0f63d86fc383565d69f7704943fff94d.tar.gz
tcl-5bc57d7b0f63d86fc383565d69f7704943fff94d.tar.bz2
More doc fix backporting
Diffstat (limited to 'doc/list.n')
-rw-r--r--doc/list.n17
1 files changed, 9 insertions, 8 deletions
diff --git a/doc/list.n b/doc/list.n
index 19a9034..cf41408 100644
--- a/doc/list.n
+++ b/doc/list.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: list.n,v 1.7 2001/12/05 22:26:43 dgp Exp $
+'\" RCS: @(#) $Id: list.n,v 1.7.4.1 2004/10/27 12:52:40 dkf Exp $
'\"
.so man.macros
.TH list n "" Tcl "Tcl Built-In Commands"
@@ -29,13 +29,14 @@ so that \fBeval\fR may be used to execute the resulting list, with
its arguments. \fBList\fR produces slightly different results than
\fBconcat\fR: \fBconcat\fR removes one level of grouping before forming
the list, while \fBlist\fR works directly from the original arguments.
-For example, the command
+.SH EXAMPLE
+The command
.CS
-\fBlist a b {c d e} {f {g h}}\fR
+\fBlist\fR a b "c d e " " f {g h}"
.CE
will return
.CS
-\fBa b {c d e} {f {g h}}\fR
+\fBa b {c d e } { f {g h}}\fR
.CE
while \fBconcat\fR with the same arguments will return
.CS
@@ -43,12 +44,12 @@ while \fBconcat\fR with the same arguments will return
.CE
.SH "SEE ALSO"
-lappend(n), lindex(n), linsert(n), llength(n), lsearch(n),
+lappend(n), lindex(n), linsert(n), llength(n), lrange(n),
+lreplace(n), lsearch(n),
.VS 8.4
lset(n),
-.VE
-lsort(n),
-lrange(n), lreplace(n)
+.VE 8.4
+lsort(n)
.SH KEYWORDS
element, list