unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



rev(1)								       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"
       <&lt;Ctrl-d>&gt;