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,
13       reversing the order of characters in every line. If no files are
14       specified, 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
18       without line breaks then allocating the memory for the file may be
19       unsuccessful.
20

OPTIONS

22       -h, --help
23           Display help text and exit.
24
25       -V, --version
26           Print version and exit.
27
28       -0, --zero
29           Zero termination. Use the byte '\0' as line separator.
30

SEE ALSO

32       tac(1)
33

REPORTING BUGS

35       For bug reports, use the issue tracker at
36       https://github.com/util-linux/util-linux/issues.
37

AVAILABILITY

39       The rev command is part of the util-linux package which can be
40       downloaded from Linux Kernel Archive
41       <https://www.kernel.org/pub/linux/utils/util-linux/>.
42
43
44
45util-linux 2.39.2                 2023-06-14                            REV(1)
Impressum