lreverse(ntcl) osx man page | unix.com

Man Page: lreverse

Operating Environment: osx

Section: ntcl

lreverse(n)						       Tcl Built-In Commands						       lreverse(n)

__________________________________________________________________________________________________________________________________________________

NAME
lreverse - Reverse the order of a list
SYNOPSIS
lreverse list _________________________________________________________________
DESCRIPTION
The lreverse command returns a list that has the same elements as its input list, list, except with the elements in the reverse order.
EXAMPLES
lreverse {a a b c} -> c b a a lreverse {a b {c d} e f} -> f e {c d} b a
SEE ALSO
list(n), lsearch(n), lsort(n)
KEYWORDS
element, list, reverse Tcl 8.5 lreverse(n)
Related Man Pages
llength(1t) - opensolaris
lrange(1t) - opensolaris
lreplace(n) - opendarwin
lreplace(n) - suse
lrange(n) - suse
Similar Topics in the Unix Linux Community
Undeletable file
To print diamond asterisk pattern based on inputs
My first PERL incarnation... Audio Oscillograph
Syntax error in subtraction in Bash
Python: Refer a properties file from different location