NAME
rev — reverse lines of a file
DESCRIPTION
rev
copies the named files to the standard output,
reversing the order of characters in every line.
If no file is specified, the standard input is copied.
EXTERNAL INFLUENCES
Environment Variables
LC_CTYPE
determines the interpretation of text as single- and/or
multi-byte characters.
If
LC_CTYPE
is not specified in the environment or is set to
the empty string, the value of
LANG
is used as a default for each
unspecified or empty variable. If
LANG
is not specified or is
set to the empty string, a default of "C" (see
lang(5))
is
used instead of
LANG.
If any internationalization variable
contains an invalid setting,
rev
behaves as if all internationalization variables are set to "C".
See
environ(5).
International Code Set Support
Single- and multi-byte character code sets are supported.