Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

rev(1)  —  Commands

NAME

rev − Reverses the sequence of characters in a line

SYNOPSIS

rev [file ...]

DESCRIPTION

The rev command copies the named files to standard output, reversing the order of characters in every line.  If no file is specified, standard input is accepted. 

EXAMPLES

The following input is reversed as follows:

% rev
123456789
987654321
"able was I ere I saw elba"
"able was I ere I saw elba"
<Ctrl-d>

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026