1REV(1)                           User Commands                          REV(1)
2
3
4

NAME

6       rev - reverse lines characterwise
7

SYNOPSIS

9       rev [option] [file...]
10

DESCRIPTION

12       The  rev utility copies the specified files to standard output, revers‐
13       ing the order of characters in every line.  If no files are  specified,
14       standard input is read.
15
16       This  utility  is  a line-oriented tool and it uses in-memory allocated
17       buffer for a whole wide-char line.  If the input file is huge and with‐
18       out line breaks than allocate the memory for the file may be unsuccess‐
19       ful.
20

OPTIONS

22       -V, --version
23              Display version information and exit.
24
25       -h, --help
26              Display help text and exit.
27

SEE ALSO

29       tac(1)
30

AVAILABILITY

32       The rev command is part of the util-linux package and is available from
33       Linux   Kernel   Archive  ⟨https://www.kernel.org/pub/linux/utils/util-
34       linux/⟩.
35
36
37
38util-linux                      September 2011                          REV(1)
Impressum