]> git.ipfire.org Git - thirdparty/util-linux.git/blame - text-utils/rev.1
wipefs: add --lock and LOCK_BLOCK_DEVICE
[thirdparty/util-linux.git] / text-utils / rev.1
CommitLineData
6dbe3af9
KZ
1.\" Copyright (c) 1985, 1992 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the
11.\" documentation and/or other materials provided with the distribution.
12.\" 3. All advertising materials mentioning features or use of this software
13.\" must display the following acknowledgement:
14.\" This product includes software developed by the University of
15.\" California, Berkeley and its contributors.
16.\" 4. Neither the name of the University nor the names of its contributors
17.\" may be used to endorse or promote products derived from this software
18.\" without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
3a60b1c2 32.\" @(#)rev.1 6.3 (Berkeley) 3/21/92
6dbe3af9 33.\"
5987d1a9
SK
34.TH REV "1" "September 2011" "util-linux" "User Commands"
35.SH NAME
07990fdc 36rev \- reverse lines characterwise
5987d1a9
SK
37.SH SYNOPSIS
38.B rev
07990fdc
BS
39[option]
40.RI [ file ...]
5987d1a9 41.SH DESCRIPTION
6dbe3af9 42The
5987d1a9
SK
43.B rev
44utility copies the specified files to standard output, reversing the order of
45characters in every line. If no files are specified, standard input is read.
5b9b6d2a
KZ
46.PP
47This utility is a line-oriented tool and it uses in-memory allocated buffer
48for a whole wide-char line. If the input file is huge and without line breaks
49than allocate the memory for the file may be unsuccessful.
5987d1a9
SK
50.SH OPTIONS
51.TP
52\fB\-V\fR, \fB\-\-version\fR
b4362b6f 53Display version information and exit.
5987d1a9
SK
54.TP
55\fB\-h\fR, \fB\-\-help\fR
b4362b6f 56Display help text and exit.
9c91fc03
BS
57.SH SEE ALSO
58.BR tac (1)
5987d1a9 59.SH AVAILABILITY
601d12fb 60The rev command is part of the util-linux package and is available from
d673b74e 61.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
5987d1a9
SK
62Linux Kernel Archive
63.UE .