REV(1) — User’s Manual — Commands
NAME
rev − reverse lines of a file
SYNOPSIS
rev [ file ] ...
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.
Sun System Release 0.3 — 16 March 1983