summaryrefslogtreecommitdiffstats
path: root/doc/list.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/list.n')
-rw-r--r--doc/list.n9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/list.n b/doc/list.n
index ec32108..4cb356b 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.8 2003/08/11 13:26:13 dkf Exp $
+'\" RCS: @(#) $Id: list.n,v 1.9 2004/05/17 15:16:13 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
+list 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