lreverse - Reverse the order of a list
lreverse list
lreverse(1t) Tcl Built-In Commands lreverse(1t) ______________________________________________________________________________ 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 ATTRIBUTES See attributes(7) for descriptions of the following attributes: +---------------+------------------+ |ATTRIBUTE TYPE | ATTRIBUTE VALUE | +---------------+------------------+ |Availability | runtime/tcl-8 | +---------------+------------------+ |Stability | Uncommitted | +---------------+------------------+ SEE ALSO list(n), lsearch(n), lsort(n) KEYWORDS element, list, reverse NOTES Source code for open source software components in Oracle Solaris can be found at https://www.oracle.com/downloads/opensource/solaris-source- code-downloads.html. This software was built from source available at https://github.com/oracle/solaris-userland. The original community source was downloaded from http://prdownloads.sourceforge.net/tcl/tcl- core8.6.7-src.tar.gz. Further information about this software can be found on the open source community website at https://www.tcl.tk/. Tcl 8.5 lreverse(1t)