lreverse - Reverse the order of a list

NAME  SYNOPSIS  DESCRIPTION  EXAMPLES  SEE ALSO  KEYWORDS 

______________________________________________________________________________

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


Updated 2024-01-29 - jenkler.se | uex.se