rev(1) General Commands Manual rev(1)
Name
rev - reverse character positions in file data
Syntax
rev [file...]
Description
The 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.
rev(1)