1
0

move man page over

This commit is contained in:
dtb
2022-09-13 00:04:28 -04:00
parent 07e7768399
commit ec717feb5f
2 changed files with 2 additions and 1 deletions

View File

@@ -12,8 +12,9 @@ rot13: rot13.c
$(CC) -o rot13 rot13.c
../dist/rot13: rot13
mkdir -p ../dist/rot13.tmp/bin/
mkdir -p ../dist/rot13.tmp/bin/ ../dist/rot13.tmp/share/man/man1/
cp rot13 ../dist/rot13.tmp/bin/rot13
cp rot13.1 ../dist/rot13.tmp/share/man/man1/rot13.1
mv ../dist/rot13.tmp ../dist/rot13
../dist/rot13.tar: ../dist/rot13

32
rot13/rot13.1 Normal file
View File

@@ -0,0 +1,32 @@
.TH ROT13 1
.SH NAME
rot13 \- decrypt/encrypt 13-degree caesar-rotated text
.SH DESCRIPTION
.B rot13
is a filter program that writes to standard output each Alphabet character from standard input, rotated 13 places.
Non-Alphabet characters are ignored.
.SH DIAGNOSTICS
.B rot13
will exit with the appropriate status from sysexits(3) if executed improperly.
Otherwise,
.B rot13
will always exit with status 0, unless there are any unforeseen errors, in which case it will crash without grace.
.SH BUGS
Not Unicode compatible.
.SH COPYRIGHT
Public domain.
.SH SEE ALSO
caesar(1)