37 lines
701 B
Groff
37 lines
701 B
Groff
.TH ROT 1
|
|
|
|
.SH NAME
|
|
|
|
rot \(en caesar-rotate text
|
|
|
|
.SH SYNOPSIS
|
|
|
|
rot
|
|
.RB ( rotation )
|
|
|
|
.SH DESCRIPTION
|
|
|
|
Rot writes to standard output each character from standard input, rotated
|
|
around the Alphabet the given number of times.
|
|
.PP
|
|
If the rotation is unspecified, the default is 13 places, functionally
|
|
equivalent to rot13(1).
|
|
|
|
.SH DECRYPTION
|
|
|
|
A character rotated 26 places around the Alphabet is the same as the initial
|
|
character, so to decrypt rotated text, rotate the text an additional amount of
|
|
places so as to make the summed rotation equal to 26 places.
|
|
|
|
.SH DIAGNOSTICS
|
|
|
|
Rot will exit with the appropriate status from sysexits(3).
|
|
|
|
.SH COPYRIGHT
|
|
|
|
Public domain.
|
|
|
|
.SH SEE ALSO
|
|
|
|
caesar(1), rot13(1)
|