1REV(1) User Commands REV(1)
2
3
4
6 rev - reverse lines characterwise
7
9 rev [option] [file...]
10
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
22 -h, --help
23 Display help text and exit.
24
25 -V, --version
26 Print version and exit.
27
29 tac(1)
30
32 For bug reports, use the issue tracker at
33 https://github.com/util-linux/util-linux/issues.
34
36 The rev command is part of the util-linux package which can be
37 downloaded from Linux Kernel Archive
38 <https://www.kernel.org/pub/linux/utils/util-linux/>.
39
40
41
42util-linux 2.38 2022-02-17 REV(1)