mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-21 03:14:50 +00:00
copy in from cvs; cvs2svn fucked up big time
git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@9775 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
@@ -1,4 +1,30 @@
|
||||
# Makefrag - makefile fragment for caesar
|
||||
#
|
||||
# Copyright (c) 1997, 1998, 1999 Joseph Samuel Myers.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the distribution.
|
||||
# 3. The name of the author may not be used to endorse or promote products
|
||||
# derived from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
|
||||
caesar_DIRS := $(GAMESDIR) $(MAN6DIR)
|
||||
|
||||
@@ -11,6 +37,3 @@ caesar_install: caesar_all
|
||||
$(HIDE_GAME) rot13
|
||||
$(INSTALL_MANUAL) caesar/caesar.6
|
||||
$(INSTALL_MANUAL) caesar.6 rot13.6
|
||||
|
||||
#caesar_check: caesar_all
|
||||
# caesar/caesar <fortune/datfiles/fortunes-o.fake.rot13
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: caesar.6,v 1.6 1997/11/12 00:48:29 mrg Exp $
|
||||
.\" $NetBSD: caesar.6,v 1.8 2002/09/26 18:31:59 wiz Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1989, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@@ -39,14 +39,14 @@
|
||||
.Sh NAME
|
||||
.Nm caesar ,
|
||||
.Nm rot13
|
||||
.Nd decrypt caesar cyphers
|
||||
.Nd decrypt caesar ciphers
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Ar rotation
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
utility attempts to decrypt caesar cyphers using English letter frequency
|
||||
utility attempts to decrypt caesar ciphers using English letter frequency
|
||||
statistics.
|
||||
.Nm
|
||||
reads from the standard input and writes to the standard output.
|
||||
@@ -66,8 +66,7 @@ Their frequencies as a percentage are as follows:
|
||||
.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).
|
||||
P(1.9), Y(1.9), W(1.5), B(1.4), V(.9), K(.4), X(.15), J(.13), Q(.11), Z(.07).
|
||||
.Ed
|
||||
.Pp
|
||||
Rotated postings to
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: rot13.sh,v 1.2 1995/03/21 15:08:23 cgd Exp $
|
||||
# $NetBSD: rot13.sh,v 1.6 2000/04/24 15:42:40 simonb Exp $
|
||||
#
|
||||
# Copyright (c) 1992, 1993
|
||||
# The Regents of the University of California. All rights reserved.
|
||||
|
||||
Reference in New Issue
Block a user