xref: /netbsd-src/usr.bin/rev/rev.1 (revision e48fb46a99c6d62ed93c5ba3009b7eb8c1200f17)
1*e48fb46aSahoka.\"	$NetBSD: rev.1,v 1.8 2009/07/21 01:12:55 ahoka Exp $
2bd186630Stls.\"
3bd186630Stls.\" Copyright (c) 1985, 1992, 1993
4bd186630Stls.\"	The Regents of the University of California.  All rights reserved.
5fd5ef5c7Scgd.\"
6fd5ef5c7Scgd.\" Redistribution and use in source and binary forms, with or without
7fd5ef5c7Scgd.\" modification, are permitted provided that the following conditions
8fd5ef5c7Scgd.\" are met:
9fd5ef5c7Scgd.\" 1. Redistributions of source code must retain the above copyright
10fd5ef5c7Scgd.\"    notice, this list of conditions and the following disclaimer.
11fd5ef5c7Scgd.\" 2. Redistributions in binary form must reproduce the above copyright
12fd5ef5c7Scgd.\"    notice, this list of conditions and the following disclaimer in the
13fd5ef5c7Scgd.\"    documentation and/or other materials provided with the distribution.
1489aaa1bbSagc.\" 3. Neither the name of the University nor the names of its contributors
15fd5ef5c7Scgd.\"    may be used to endorse or promote products derived from this software
16fd5ef5c7Scgd.\"    without specific prior written permission.
17fd5ef5c7Scgd.\"
18fd5ef5c7Scgd.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19fd5ef5c7Scgd.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20fd5ef5c7Scgd.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21fd5ef5c7Scgd.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22fd5ef5c7Scgd.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23fd5ef5c7Scgd.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24fd5ef5c7Scgd.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25fd5ef5c7Scgd.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26fd5ef5c7Scgd.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27fd5ef5c7Scgd.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28fd5ef5c7Scgd.\" SUCH DAMAGE.
29fd5ef5c7Scgd.\"
30bd186630Stls.\"	@(#)rev.1	8.1 (Berkeley) 6/9/93
31fd5ef5c7Scgd.\"
32*e48fb46aSahoka.Dd July 21, 2009
33fd5ef5c7Scgd.Dt REV 1
34fd5ef5c7Scgd.Os
35fd5ef5c7Scgd.Sh NAME
36fd5ef5c7Scgd.Nm rev
37cc2697a1Slukem.Nd reverse order of characters of lines in a file
38fd5ef5c7Scgd.Sh SYNOPSIS
39dcc8df4fSlukem.Nm
40b9585ffdSreed.Op Ar
41fd5ef5c7Scgd.Sh DESCRIPTION
42fd5ef5c7ScgdThe
43dcc8df4fSlukem.Nm
44fd5ef5c7Scgdutility copies the specified files to the standard output, reversing the
45fd5ef5c7Scgdorder of characters in every line.
46fd5ef5c7ScgdIf no files are specified, the standard input is read.
47*e48fb46aSahoka.Sh ENVIRONMENT
48*e48fb46aSahoka.Bl -tag -width indent
49*e48fb46aSahoka.It Ev LC_ALL
50*e48fb46aSahoka.El
51