summaryrefslogtreecommitdiffstats
path: root/caesar
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1993-08-05 01:46:15 +0000
committerjtc <jtc@NetBSD.org>1993-08-05 01:46:15 +0000
commit407ed21945b2cc91dd05200d11612691b0f52569 (patch)
tree05151bd4827bc906ef9e993f4324e31141c89ac8 /caesar
parent6bc8513af3dfc690c13f29fbb7eb972b5da311cf (diff)
downloadbsdgames-darwin-407ed21945b2cc91dd05200d11612691b0f52569.tar.gz
bsdgames-darwin-407ed21945b2cc91dd05200d11612691b0f52569.tar.zst
bsdgames-darwin-407ed21945b2cc91dd05200d11612691b0f52569.zip
Update to use new -mandoc macros.
Diffstat (limited to 'caesar')
-rw-r--r--caesar/caesar.648
1 files changed, 23 insertions, 25 deletions
diff --git a/caesar/caesar.6 b/caesar/caesar.6
index 891d2af2..76dc20a6 100644
--- a/caesar/caesar.6
+++ b/caesar/caesar.6
@@ -30,43 +30,41 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)caesar.6 5.3 (Berkeley) 11/11/90
-.\" $Id: caesar.6,v 1.2 1993/08/01 07:47:21 mycroft Exp $
+.\" $Id: caesar.6,v 1.3 1993/08/05 01:46:33 jtc Exp $
.\"
-.TH CAESAR 6 "November 11, 1990"
-.UC 7
-.SH NAME
-caesar \- decrypt caesar cyphers
-.SH SYNOPSIS
-.B caesar
-[
-.B rotation
-]
-.SH DESCRIPTION
+.Dd November 11, 1990
+.Dt CAESAR 6
+.Os
+.Sh NAME
+.Nm caesar
+.Nd decrypt caesar cyphers
+.Sh SYNOPSIS
+.Nm caesar
+.Op Ar rotation
+.Sh DESCRIPTION
The
-.I caesar
+.Nm caesar
utility attempts to decrypt caesar cyphers using English letter frequency
statistics.
-.I Caesar
+.Nm Caesar
reads from the standard input and writes to the standard output.
-.PP
+.Pp
The optional numerical argument
-.I rotation
+.Ar rotation
may be used to specify a specific rotation value.
-.PP
+.Pp
The frequency (from most common to least) of English letters is as follows:
-.sp
-.RS
+.Bd -filled -offset indent
ETAONRISHDLFCMUGPYWBVKXJQZ
-.RE
-.PP
+.Ed
+.Pp
Their frequencies as a percentage are as follows:
-.sp
-.RS
+.Bd -filled -offset indent
E(13), T(10.5), A(8.1), O(7.9), N(7.1), R(6.8), I(6.3), S(6.1), H(5.2),
D(3.8), L(3.4), F(2.9), C(2.7), M(2.5), U(2.4), G(2), P(1.9), Y(1.9),
W(1.5), B(1.4), V(.9), K(.4), X(.15), J(.13), Q(.11), Z(.07).
-.RE
-.PP
+.Ed
+.Pp
Rotated postings to USENET and some of the databases used by the
-.IR fortune (6)
+.Xr fortune 6
program are rotated by 13 characters.