REV(1) General Commands Manual REV(1)

rev
reverse order of characters of lines in a file

rev [file ...]

The rev utility copies the specified files to the standard output, reversing the order of characters in every line. If no files are specified, the standard input is read.

 
July 21, 2009 NetBSD 9.4