rev - reverse lines of a file
rev [options] [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.
rev accepts the following options:
Print a short help message, then exits.
Prints out its version number, then exits.
rev has no known bugs.
This Perl implementation of rev was written by Andy Murren, andy@murren.org.
This program is covered by the GNU Public License (GPL). See http://www.gnu.org/copyleft/gpl.html for complete detail of the license.
To install PerlPowerTools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PerlPowerTools
CPAN shell
perl -MCPAN -e shell install PerlPowerTools
For more information on module installation, please visit the detailed CPAN module installation guide.