Move 2018/ferguson/prog-simple.c to prog.alt.c

This is to match the rest of the repo as this truly is an alt version,
not a supplementary program.

Updated README.md to have an 'Alternate code' section as well.

A number of files had to be changed as numerous files referred to
prog-simple.c.
This commit is contained in:
Cody Boone Ferguson committed 2023-04-12 03:07:15 -07:00
1 parent fc3a43d5f0
commit d664871317
8 files changed
+29 -23

No files matched your search

+4 -4
View File
@@ -4,7 +4,7 @@ weasel \- The IOCCC 2018 Implementation of Richard Dawkins's Weasel program
.SH SYNOPSIS
\fBweasel\fP [\fI\-r<rate>\fP] [\fI\-m\fP] [\fI\-q\fP] [\fI<chromosomal string>\fP]
.PP
\fBweasel\-simple\fP [\fI\-r<rate>\fP] [\fI\-m\fP] [\fI\-q\fP] [\fI<chromosomal string>\fP]
\fBweasel.alt\fP [\fI\-r<rate>\fP] [\fI\-m\fP] [\fI\-q\fP] [\fI<chromosomal string>\fP]
.SH DESCRIPTION
\fBweasel\fP is an obfuscated implementation of Richard Dawkins' \fIWeasel program\fP.
According to Wikipedia in chapter three of his book \fIThe Blind Watchmaker\fP Dawkins wrote:
@@ -28,7 +28,7 @@ has several additions: \fBtwo Easter eggs,\fP a \fBquiet output mode,\fP
an \fBoption to change the mutation rate\fP as well as the ability to
\fBspecify the chromosomal string.\fP
Furthermore the keyboard isn't as limited as Dawkins's implementation.
The \fBweasel\-simple\fP keyboard is a more limited keyboard but not
The \fBweasel.alt\fP keyboard is a more limited keyboard but not
as limited as Dawkins's Weasel program keyboard.
.SH OPTIONS
.PP
@@ -141,9 +141,9 @@ quiet output from being enabled; on the other hand the options
The source code to the \fBweasel\fP program.
.RE
.PP
\fI/usr/src/weasel/weasel\-simple.c\fP
\fI/usr/src/weasel/weasel.alt.c\fP
.RS
The source code to the \fBweasel-simple\fP program.
The source code to the \fBweasel.alt\fP program.
.RE
.PP
\fI/usr/src/weasel/Makefile\fP