REV(1) — Unix Programmer’s Manual
NAME
rev − reverse lines of a file
SYNOPSIS
rev [ files ]
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.
INTEGRATED SOLUTIONS 4.2 BSD — 1 August 1985