summaryrefslogtreecommitdiffstats
path: root/doc/lreverse.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lreverse.n')
-rw-r--r--doc/lreverse.n15
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/lreverse.n b/doc/lreverse.n
index b1cd594..51a9e57 100644
--- a/doc/lreverse.n
+++ b/doc/lreverse.n
@@ -1,13 +1,11 @@
-'\" -*- nroff -*-
+'\"
'\" Copyright (c) 2006 by Donal K. Fellows. All rights reserved.
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: lreverse.n,v 1.4 2007/10/26 20:11:53 dgp Exp $
-'\"
-.so man.macros
.TH lreverse n 8.5 Tcl "Tcl Built-In Commands"
+.so man.macros
.BS
'\" Note: do not modify the .SH NAME line immediately below!
.SH NAME
@@ -21,11 +19,16 @@ The \fBlreverse\fR command returns a list that has the same elements as its
input list, \fIlist\fR, except with the elements in the reverse order.
.SH EXAMPLES
.CS
-\fBlreverse\fR {a a b c} => c b a a
-\fBlreverse\fR {a b {c d} e f} => f e {c d} b a
+\fBlreverse\fR {a a b c}
+ \fI\(-> c b a a\fR
+\fBlreverse\fR {a b {c d} e f}
+ \fI\(-> f e {c d} b a\fR
.CE
.SH "SEE ALSO"
list(n), lsearch(n), lsort(n)
.SH KEYWORDS
element, list, reverse
+'\" Local Variables:
+'\" mode: nroff
+'\" End: