.\" Copyright (c) 1985, 1992 The Regents of the University of California. .\" All rights reserved. .\" .\" %sccs.include.redist.roff% .\" .\" @(#)rev.1 6.3 (Berkeley) 03/21/92 .\" .Dd .Dt REV 1 .Os .Sh NAME .Nm rev .Nd reverse lines of a file .Sh SYNOPSIS .Nm rev .Op Ar file .Sh DESCRIPTION The .Nm 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.