Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
REV(1)			     General Commands Manual			  REV(1)

NAME
     rev -- reverse lines of a file

SYNOPSIS
     rev [file ...]

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

EXAMPLES
     Reverse the text from stdin:

	   $ echo -e "reverse \t these\ntwo lines" | rev
	   eseht    esrever
	   senil owt

FreeBSD 15.1			  June 27, 2020 			  REV(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=rev&manpath=FreeBSD+15.1-RELEASE+and+Ports.quarterly>

home | help