rev(1) rev(1)
NAME [Toc] [Back]
rev - reverse lines of a file
SYNOPSIS [Toc] [Back]
rev [file] ...
DESCRIPTION [Toc] [Back]
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 [Toc] [Back]
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 [Toc] [Back]
Single- and multi-byte character code sets are supported.
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003 [ Back ] |