diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2007-10-25 09:25:27 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2007-10-25 09:25:27 (GMT) |
commit | 859f56b5099b2bfd3ad42becd2aaddca16196ce2 (patch) | |
tree | a55358a428b5851b24d6a6406ae63dc80f3b016d /doc/lreverse.n | |
parent | 79cc10a2e22854d53a72f18f95e87a867df9925a (diff) | |
download | tcl-859f56b5099b2bfd3ad42becd2aaddca16196ce2.zip tcl-859f56b5099b2bfd3ad42becd2aaddca16196ce2.tar.gz tcl-859f56b5099b2bfd3ad42becd2aaddca16196ce2.tar.bz2 |
GOOBE for command results in examples
Diffstat (limited to 'doc/lreverse.n')
-rw-r--r-- | doc/lreverse.n | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/lreverse.n b/doc/lreverse.n index 932b2d9..e0d53c8 100644 --- a/doc/lreverse.n +++ b/doc/lreverse.n @@ -1,15 +1,15 @@ -'\" -*- 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.2 2006/11/15 09:23:02 dkf Exp $ -'\" +.\" -*- 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.3 2007/10/25 09:25:27 dkf Exp $ +.\" .so man.macros .TH lreverse n 8.5 Tcl "Tcl Built-In Commands" .BS -'\" Note: do not modify the .SH NAME line immediately below! +.\" Note: do not modify the .SH NAME line immediately below! .SH NAME lreverse \- Reverse the order of a list .SH SYNOPSIS @@ -21,11 +21,11 @@ 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 +.ta 3i +\fBlreverse\fR {a a b c} \fB\(->\fI c b a a\fR +\fBlreverse\fR {a b {c d} e f} \fB\(->\fI f e {c d} b a\fR .CE .SH "SEE ALSO" list(n), lsearch(n), lsort(n) - .SH KEYWORDS element, list, reverse |