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