summaryrefslogtreecommitdiffstats
path: root/doc/list.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/list.n')
-rw-r--r--doc/list.n16
1 files changed, 6 insertions, 10 deletions
diff --git a/doc/list.n b/doc/list.n
index 5705254..2bcdafb 100644
--- a/doc/list.n
+++ b/doc/list.n
@@ -15,6 +15,7 @@ list \- Create a list
.SH SYNOPSIS
\fBlist \fR?\fIarg arg ...\fR?
.BE
+
.SH DESCRIPTION
.PP
This command returns a list comprised of all the \fIarg\fRs,
@@ -27,30 +28,25 @@ 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.
.SH EXAMPLE
-.PP
The command
-.PP
.CS
\fBlist\fR a b "c d e " " f {g h}"
.CE
-.PP
will return
-.PP
.CS
\fBa b {c d e } { f {g h}}\fR
.CE
-.PP
while \fBconcat\fR with the same arguments will return
-.PP
.CS
\fBa b c d e f {g h}\fR
.CE
+
.SH "SEE ALSO"
lappend(n), lindex(n), linsert(n), llength(n), lrange(n),
+.VS 8.5
lrepeat(n),
+.VE 8.5
lreplace(n), lsearch(n), lset(n), lsort(n)
+
.SH KEYWORDS
-element, list, quoting
-'\"Local Variables:
-'\"mode: nroff
-'\"End:
+element, list