rev(1)
NAME
rev − reverse character positions in file data
SYNTAX
rev [file...]
DESCRIPTION
The rev command copies the named files to the standard output, reversing the order of characters in every line. If no file is specified, the standard input is copied.