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

FreeBSD Manual Pages

  
 
  

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, re-
       versing the order of characters in every	line.  If no files are	speci-
       fied, the standard input	is read.

EXAMPLES
       Reverse the text	from stdin:

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

FreeBSD	13.2			 June 27, 2020				REV(1)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLES

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

home | help