Add rev(1)

Signed-off-by: Mattias Andrée <maandree@kth.se>
This commit is contained in:
Mattias Andrée
2016-03-26 17:23:03 +01:00
committed by Laslo Hunhold
parent fb11173926
commit 28129a87c4
4 changed files with 98 additions and 0 deletions

22
rev.1 Normal file
View File

@@ -0,0 +1,22 @@
.Dd 2016-03-26
.Dt REV 1
.Os sbase
.Sh NAME
.Nm rev
.Nd reverse each line
.Sh SYNOPSIS
.Nm
.Op Ar file ...
.Sh DESCRIPTION
.Nm
reads each
.Ar file
in sequence and writes it to stdout, but
with all characters in each line in reverse
order. If no
.Ar file
is given
.Nm
reads from stdin.
.Sh SEE ALSO
.Xr tac 1