rev(1)rev(1)NAMErev - Reverses the sequence of characters in a line
SYNOPSISrev [file...]
DESCRIPTION
The rev command copies the named files to standard output, reversing
the order of characters in every line. If no file is specified, stan‐
dard input is accepted.
EXAMPLES
The following input is reversed as follows: % rev 123456789 987654321
"able was I ere I saw elba" "able was I ere I saw elba" <Ctrl-d>
rev(1)