REV(1) General Commands Manual REV(1)
rev - reverse the order of characters in each line
rev [ filename ] ...
rev 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.
9 September 1987 REV(1)