REV(1)

NAME
rev - reverse the order of characters in each line

SYNOPSIS
rev [ filename ] ...

DESCRIPTION
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.