Index Index for
Section 1
Index Alphabetical
listing for R
Bottom of page Bottom of
page

rev(1)

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>

Index Index for
Section 1
Index Alphabetical
listing for R
Top of page Top of
page