diff --git a/1984/anonymous/Makefile b/1984/anonymous/Makefile
index 9cfcc6514..73fd5cf93 100644
--- a/1984/anonymous/Makefile
+++ b/1984/anonymous/Makefile
@@ -190,7 +190,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1984/anonymous/README.md b/1984/anonymous/README.md
index 648cb4bd2..d2630ee7e 100644
--- a/1984/anonymous/README.md
+++ b/1984/anonymous/README.md
@@ -2,7 +2,6 @@
Anonymous
-
## To build:
```sh
@@ -19,9 +18,8 @@ make all
The original version of this entry was added, by request,
in order to show the code that was turned into the
-[tattoo](https://web.archive.org/web/20070120220721/https://thomasscovell.com/tattoo.php).
-See below in this file for the image.
-
+[tattoo](https://web.archive.org/web/20070120220721/https://thomasscovell.com/tattoo.php),
+as the alternate code. See below in the tattoo side-by-side with the code.
#### To build:
@@ -37,7 +35,6 @@ NOTE: this version might not work on some systems like macOS.
./anonymous.alt
```
-
## Judges' remarks:
The author was too embarrassed that they could write such trash, so I
@@ -50,12 +47,11 @@ program. What reads like a read may be written like a write!
In 2005 someone by the name of Thomas Scovell got a tattoo of this entry. See
his [web
page](https://web.archive.org/web/20070120220721/https://thomasscovell.com/tattoo.php)
-for more information on the tattoo. Along with the code, this is what it looks like:
-
+on the Internet Wayback Machine for more information on the tattoo. Along with
+the code, this is what it looks like:

-
## Author's remarks:
### On remaining anonymous:
diff --git a/1984/decot/Makefile b/1984/decot/Makefile
index 7190cf57b..9e365e2b8 100644
--- a/1984/decot/Makefile
+++ b/1984/decot/Makefile
@@ -192,7 +192,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1984/decot/README.md b/1984/decot/README.md
index dce899d1e..58c8f4af8 100644
--- a/1984/decot/README.md
+++ b/1984/decot/README.md
@@ -1,7 +1,6 @@
# Second place award
-Dave Decot
-
+Dave Decot
## To build:
@@ -9,14 +8,12 @@ Dave Decot
make all
```
-
## To run:
```sh
./decot
```
-
### Alternate code:
To try the original code that requires `-traditional-cpp`:
@@ -26,7 +23,6 @@ make alt
./decot.alt
```
-
## Judges' remarks:
This program prints out a string of garbage.
@@ -36,8 +32,8 @@ The judges also offer this one comment: understand remarks!
### Historical remarks:
-Some new (in 1984) compilers disliked line 15 of the original source, so we changed it
-from:
+Some new (in 1984) compilers disliked line 15 of the original source, so we
+changed it from:
```c
for(signal=0;*k * x * __FILE__ *i;) do {
@@ -49,7 +45,6 @@ to:
for(signal=0;*k *x * __FILE__ *i;) do {
```
-
To see what we mean look at the [original source file](decot.orig.c).
diff --git a/1984/decot/decot.c b/1984/decot/decot.c
index 2c4471f88..1c1e5e128 100644
--- a/1984/decot/decot.c
+++ b/1984/decot/decot.c
@@ -1,3 +1,8 @@
+#define x =
+#define double(a,b) int
+#define char k['a']
+#define union static struct
+
int b,
k['a'] = {sizeof(
int(*)())
diff --git a/1984/laman/Makefile b/1984/laman/Makefile
index 387e5953e..3add680ce 100644
--- a/1984/laman/Makefile
+++ b/1984/laman/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1984/laman/README.md b/1984/laman/README.md
index 24ce85401..ec9d8f9af 100644
--- a/1984/laman/README.md
+++ b/1984/laman/README.md
@@ -1,6 +1,6 @@
# Third place
-Mike Laman
+Mike Laman
## To build:
diff --git a/1984/mullender/Makefile b/1984/mullender/Makefile
index 83608b40d..9bb00f867 100644
--- a/1984/mullender/Makefile
+++ b/1984/mullender/Makefile
@@ -193,7 +193,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1984/mullender/README.md b/1984/mullender/README.md
index 1882a43bf..f30575642 100644
--- a/1984/mullender/README.md
+++ b/1984/mullender/README.md
@@ -3,6 +3,7 @@
Sjoerd Mullender
+
Robbert van Renesse
@@ -19,9 +20,10 @@ make all
./mullender
```
-> NOTE: If your machine is not a [VAX-11](https://en.wikipedia.org/wiki/VAX-11)
+NOTE: If your machine is not a [VAX-11](https://en.wikipedia.org/wiki/VAX-11)
or [PDP-11](https://en.wikipedia.org/wiki/PDP-11), this program will not execute
-correctly. In later years, machine dependent code was discouraged.
+correctly. In later years, machine dependent code was discouraged. An alternate
+version that will work with other systems is provided as alternate code below.
### Alternate code:
@@ -29,8 +31,8 @@ correctly. In later years, machine dependent code was discouraged.
An alternate version exists which allows one to enjoy this entry on systems
other than a [VAX-11](https://en.wikipedia.org/wiki/VAX-11) or
[PDP-11](https://en.wikipedia.org/wiki/PDP-11). This version has a delay feature
-as it goes so fast in modern systems. The author later suggested that there was
-a delay in the original system as well.
+as it goes so fast in modern systems. The author suggested that there was a
+delay in the original code as well.
#### To build:
@@ -51,12 +53,11 @@ The default microseconds is 10000. This feature is so you can experiment with
different speeds in between writes. It can be useful if your CPU is too slow or
too fast.
-BTW: is there such a thing as too fast a CPU ? :-) Actually yes for certain code
-which is probably not as uncommon as you think :-).
-
Note that it is an `int` (argc) and it uses `atoi()` which does NOT check for
overflow!
+BTW: is there such a thing as too fast a CPU ? :-) Actually yes for certain code
+which is probably not as uncommon as you think :-).
#### Try:
@@ -83,45 +84,50 @@ the rules were changed, requesting non-machine specific code.
This program was selected for the 1987 t-shirt collection.
-The C startup routine (via `crt0.o`) transfers control to a location named main.
-In this case, main just happens to be in the data area. The array of shorts,
+The C startup routine (via [crt0.o](https://en.wikipedia.org/wiki/Crt0)) transfers control to a location named `main`.
+In this case, `main` just happens to be in the data area. The array of `short`s,
which has been further obfuscated by use of different data types, just happens
to form a meaningful set of [PDP-11](https://en.wikipedia.org/wiki/PDP-11) and
-Vax instructions. The first word is a
-[PDP-11](https://en.wikipedia.org/wiki/PDP-11) branch instruction that branches
-to the rest of the [PDP](https://en.wikipedia.org/wiki/Programmed_Data_Processor) code. On the Vax main is called with the calls
-instruction which uses the first word of the subroutine as a mask of registers
-to be saved. So on the Vax the first word can be anything. The real Vax code
-starts with the second word. This small program makes direct calls to the
-write() Unix system call to produce a message on the screen. Can you guess what
-is printed? We knew you couldn't! :-)
+[VAX](https://en.wikipedia.org/wiki/VAX) instructions.
-BTW: this remains my (Landon Curt Noll's) all time favorite entries!
+The first word is a [PDP-11](https://en.wikipedia.org/wiki/PDP-11) branch
+instruction that branches to the rest of the
+[PDP](https://en.wikipedia.org/wiki/Programmed_Data_Processor) code.
+
+On the VAX `main` is called with the [calls
+instruction](https://jcsites.juniata.edu/faculty/rhodes/org/instr.htm#CALLS)
+which uses the first word of the subroutine as a mask of registers to be saved.
+So on the VAX the first word can be anything. The real VAX code starts with the
+second word.
+
+This small program makes direct calls to the `write()` Unix system call to
+produce a message on the screen. Can you guess what is printed? We knew you
+couldn't! :-)
What happens if you hit enter after it writes a line of output?
-In 2023 remarks were discovered from [Sjoerd Mullender](/winners.html#Sjoerd_Mullender)
-and so was the program that was used by the authors to generate the array that he
-referred to. Because [a.out.h](a.out.h) is not available in all systems (like macOS) and
-more importantly because we wanted it to be as close to as the original as
-possible we used a copy of
+BTW: to this day, 2023, this remains one of my (Landon Curt Noll's) all time
+favorite entries!
+
+
+### gentab.c
+
+In 2023 remarks were discovered from [Sjoerd
+Mullender](/winners.html#Sjoerd_Mullender), one of the authors, and so was the
+program that was used by the authors to generate the array that he referred to.
+Because [a.out.h](a.out.h), which [gentab.c](gentab.c) uses, is not available in
+all systems (like macOS) and more importantly because we wanted it to be as
+close to as the original as possible we used a copy of
in the *fabulous* [Unix History
Repo](https://github.com/dspinellis/unix-history-repo/tree/Research-Release).
This tool can be built by running:
-
```sh
make gentab
```
-We note that it does not appear to work in modern systems (unbalanced braces)
-or something else is wrong but given that this was done a long time ago on a now
-archaic system maybe that is why. We also note that if the `short`s are not
-changed to just `int` it prints out a lot of negative numbers but since
-[mullender.c](mullender.c) has a negative number we kept it as is.
-
## Author's remarks:
@@ -130,7 +136,7 @@ changed to just `int` it prints out a lot of negative numbers but since
These remarks, found at
[https://lainsystems.com/posts/exploring-mullender-dot-c/](https://lainsystems.com/posts/exploring-mullender-dot-c/),
were provided by Sjoerd Mullender years later. We thank the author of the
-article for the quote! For a more detailed analysis, taken from the Obfuscated C
+article for the quote! For a more detailed analysis, taken from the book Obfuscated C
and Other Mysteries, see below. We hope that this is okay with the author of the
book. Considering that the analysis is entirely the authors' comments we don't
think this will be a problem. Unfortunately the excerpt was PDF and it did not
@@ -138,7 +144,7 @@ copy paste well. We had to go back and forth to type so it's possible he made a
typo though he also fixed some typos found in the extract. As for the other
comments:
-## Remarks from the author:
+### Remarks from the author:
I have never known a lot about the [VAX](https://en.wikipedia.org/wiki/VAX)
[assembly](https://en.wikipedia.org/wiki/Assembly_language), so we used the C
@@ -160,7 +166,7 @@ We decided for fun to create an
[obfuscated](https://en.wikipedia.org/wiki/Obfuscation_(software)) set of
programs, only for the
[PDP](https://en.wikipedia.org/wiki/Programmed_Data_Processor), to do this, but
-circumventing the channel. (I.e. cheating, hence the needed obfuscation.) Our
+circumventing the channel (i.e. cheating, hence the needed obfuscation.). Our
programs worked and we handed them in.
Of course, the teacher had a good laugh and then rejected our submission. (We
@@ -196,9 +202,10 @@ Our program is idempotent under `cb`.
When this program is compiled, the compiler places the array somewhere in
memory, just like it places any compiled code somewhere in memory. Usually, the
-C startup code (`crt0.o`) calls a routine named `main()`. The loader fills in the
-address in the startup code, but at least on the old systems where this program
-rans, it doesn't know that the `main()` in this program isn't code but data!
+C startup code ([crt0.o](https://en.wikipedia.org/wiki/Crt0)) calls a routine
+named `main()`. The loader fills in the address in the startup code, but at
+least on the old systems where this program ran, it doesn't know that the
+`main()` in this program isn't code but data!
When the program is run, the C startup code transfers control to the location
`main`. The contents of the array just happen to be machine instructions for
@@ -289,7 +296,7 @@ system call (55) slows things down.
We assembled this program and extracted the [machine
code](https://en.wikipedia.org/wiki/Machine_code) from the resulting [object
file](https://en.wikipedia.org/wiki/Object_file). We used this code in the
-[VAX](https://en.wikipedia.org/wiki/VAX) part. Since neither of us was fluent in
+[VAX](https://en.wikipedia.org/wiki/VAX) part. Since neither of us were fluent in
VAX [assembly](https://en.wikipedia.org/wiki/Assembly_language), we wrote the
VAX code in C and massaged the
[compiler](https://en.wikipedia.org/wiki/Compiler) output. The VAX assembly
@@ -420,7 +427,7 @@ The only problem we had was that the program had chosen an
Since everybody knows what a [PDP-11](https://en.wikipedia.org/wiki/PDP-11)
branch instruction looks like (everyone knows that the traditional magic word
for an executable, `0407`, is a [PDP-11](https://en.wikipedia.org/wiki/PDP-11)
-[branch](https://en.wikipedia.org/wiki/Branch_(computer_science)))), we changed
+[branch](https://en.wikipedia.org/wiki/Branch_(computer_science))), we changed
that to decimal. After checking the size of the resulting program we saw that it
was one byte too long. The limit was 512 bytes, and our program was 513 bytes.
So we changed the word `and` in the comment to `&&`.
diff --git a/1984/mullender/gentab.c b/1984/mullender/gentab.c
index 069cd89e7..d65fc9b84 100644
--- a/1984/mullender/gentab.c
+++ b/1984/mullender/gentab.c
@@ -49,6 +49,6 @@ main(argc, argv) char **argv;
}
else printf(" ");
- printf("};\n");
}
+ printf("};\n");
}
diff --git a/1985/applin/Makefile b/1985/applin/Makefile
index 37c4ee189..6533a33fc 100644
--- a/1985/applin/Makefile
+++ b/1985/applin/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1985/august/Makefile b/1985/august/Makefile
index 23581962c..611df4dbe 100644
--- a/1985/august/Makefile
+++ b/1985/august/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1985/lycklama/Makefile b/1985/lycklama/Makefile
index c655a4d25..48514054d 100644
--- a/1985/lycklama/Makefile
+++ b/1985/lycklama/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1985/shapiro/Makefile b/1985/shapiro/Makefile
index 64dd023e0..0d7e77134 100644
--- a/1985/shapiro/Makefile
+++ b/1985/shapiro/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1985/sicherman/Makefile b/1985/sicherman/Makefile
index 4b4dc6cd3..63632c21c 100644
--- a/1985/sicherman/Makefile
+++ b/1985/sicherman/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1986/applin/Makefile b/1986/applin/Makefile
index 4d4b1e070..3b0d2a0ef 100644
--- a/1986/applin/Makefile
+++ b/1986/applin/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1986/august/Makefile b/1986/august/Makefile
index 86513bb65..09f3e009f 100644
--- a/1986/august/Makefile
+++ b/1986/august/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1986/bright/Makefile b/1986/bright/Makefile
index 20ad26eda..4aecd5e06 100644
--- a/1986/bright/Makefile
+++ b/1986/bright/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1986/hague/Makefile b/1986/hague/Makefile
index 9205ba748..5df3e3c19 100644
--- a/1986/hague/Makefile
+++ b/1986/hague/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1986/holloway/Makefile b/1986/holloway/Makefile
index f84739aca..227729404 100644
--- a/1986/holloway/Makefile
+++ b/1986/holloway/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1986/marshall/Makefile b/1986/marshall/Makefile
index b0eabf556..c1285f057 100644
--- a/1986/marshall/Makefile
+++ b/1986/marshall/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1986/pawka/Makefile b/1986/pawka/Makefile
index 5cd320072..ee7681301 100644
--- a/1986/pawka/Makefile
+++ b/1986/pawka/Makefile
@@ -181,7 +181,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1986/stein/Makefile b/1986/stein/Makefile
index cceded490..ce5043067 100644
--- a/1986/stein/Makefile
+++ b/1986/stein/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1986/wall/Makefile b/1986/wall/Makefile
index a8818bd90..ccacf95f1 100644
--- a/1986/wall/Makefile
+++ b/1986/wall/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1987/biggar/Makefile b/1987/biggar/Makefile
index 240d849ea..2778f42f8 100644
--- a/1987/biggar/Makefile
+++ b/1987/biggar/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1987/heckbert/Makefile b/1987/heckbert/Makefile
index ac28ee25a..d954329ae 100644
--- a/1987/heckbert/Makefile
+++ b/1987/heckbert/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1987/hines/Makefile b/1987/hines/Makefile
index 3ddc88e6a..2394eb757 100644
--- a/1987/hines/Makefile
+++ b/1987/hines/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1987/korn/Makefile b/1987/korn/Makefile
index fa06e26bb..fe018c326 100644
--- a/1987/korn/Makefile
+++ b/1987/korn/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1987/lievaart/Makefile b/1987/lievaart/Makefile
index fc0c2b98a..8fef89e41 100644
--- a/1987/lievaart/Makefile
+++ b/1987/lievaart/Makefile
@@ -195,7 +195,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1987/wall/Makefile b/1987/wall/Makefile
index 703d0bbbb..e1d6a5f95 100644
--- a/1987/wall/Makefile
+++ b/1987/wall/Makefile
@@ -197,7 +197,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1987/westley/Makefile b/1987/westley/Makefile
index 1dbac58a6..0b72e0ada 100644
--- a/1987/westley/Makefile
+++ b/1987/westley/Makefile
@@ -187,7 +187,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1988/applin/Makefile b/1988/applin/Makefile
index c3d480297..4a6e38c8a 100644
--- a/1988/applin/Makefile
+++ b/1988/applin/Makefile
@@ -209,7 +209,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1988/dale/Makefile b/1988/dale/Makefile
index 05284e8b1..fd1d2ee3c 100644
--- a/1988/dale/Makefile
+++ b/1988/dale/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1988/isaak/Makefile b/1988/isaak/Makefile
index 6b44e5d91..8d347cc6f 100644
--- a/1988/isaak/Makefile
+++ b/1988/isaak/Makefile
@@ -189,7 +189,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1988/litmaath/Makefile b/1988/litmaath/Makefile
index 9fddf1cd8..e780c7b90 100644
--- a/1988/litmaath/Makefile
+++ b/1988/litmaath/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1988/phillipps/Makefile b/1988/phillipps/Makefile
index a7e6defbd..3b5c33e94 100644
--- a/1988/phillipps/Makefile
+++ b/1988/phillipps/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1988/reddy/Makefile b/1988/reddy/Makefile
index 02bc1dd41..c18b559aa 100644
--- a/1988/reddy/Makefile
+++ b/1988/reddy/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1988/robison/Makefile b/1988/robison/Makefile
index c7170d003..75db7f8e8 100644
--- a/1988/robison/Makefile
+++ b/1988/robison/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1988/spinellis/Makefile b/1988/spinellis/Makefile
index 69860ec33..0aa6c49e2 100644
--- a/1988/spinellis/Makefile
+++ b/1988/spinellis/Makefile
@@ -192,7 +192,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1988/westley/Makefile b/1988/westley/Makefile
index 24a66fbad..b9fcef165 100644
--- a/1988/westley/Makefile
+++ b/1988/westley/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1989/fubar/Makefile b/1989/fubar/Makefile
index 17be4f8ab..85b400b89 100644
--- a/1989/fubar/Makefile
+++ b/1989/fubar/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1989/jar.1/Makefile b/1989/jar.1/Makefile
index 7c1a73123..b09b960e0 100644
--- a/1989/jar.1/Makefile
+++ b/1989/jar.1/Makefile
@@ -192,7 +192,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1989/jar.2/Makefile b/1989/jar.2/Makefile
index 864e65c30..cb0d10fa1 100644
--- a/1989/jar.2/Makefile
+++ b/1989/jar.2/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1989/ovdluhe/Makefile b/1989/ovdluhe/Makefile
index a7a71d911..20fbcbca5 100644
--- a/1989/ovdluhe/Makefile
+++ b/1989/ovdluhe/Makefile
@@ -189,7 +189,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1989/paul/Makefile b/1989/paul/Makefile
index 5c7a50d26..05c58e7b1 100644
--- a/1989/paul/Makefile
+++ b/1989/paul/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1989/robison/Makefile b/1989/robison/Makefile
index da3817b5e..7c23e5d29 100644
--- a/1989/robison/Makefile
+++ b/1989/robison/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1989/roemer/Makefile b/1989/roemer/Makefile
index 34e12dcb1..f1169c23c 100644
--- a/1989/roemer/Makefile
+++ b/1989/roemer/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1989/tromp/Makefile b/1989/tromp/Makefile
index df4e1d220..cb20498ba 100644
--- a/1989/tromp/Makefile
+++ b/1989/tromp/Makefile
@@ -195,7 +195,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1989/vanb/Makefile b/1989/vanb/Makefile
index aff7229ab..c21cb800d 100644
--- a/1989/vanb/Makefile
+++ b/1989/vanb/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1989/westley/Makefile b/1989/westley/Makefile
index 0fdc95900..d9bd82238 100644
--- a/1989/westley/Makefile
+++ b/1989/westley/Makefile
@@ -206,7 +206,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1990/baruch/Makefile b/1990/baruch/Makefile
index f119af6db..5b4aef67f 100644
--- a/1990/baruch/Makefile
+++ b/1990/baruch/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1990/cmills/Makefile b/1990/cmills/Makefile
index 8f6a13670..59aafe87f 100644
--- a/1990/cmills/Makefile
+++ b/1990/cmills/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1990/dds/Makefile b/1990/dds/Makefile
index c80c4010a..57ed6347e 100644
--- a/1990/dds/Makefile
+++ b/1990/dds/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1990/dg/Makefile b/1990/dg/Makefile
index 55d0442b7..b750e79a3 100644
--- a/1990/dg/Makefile
+++ b/1990/dg/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1990/jaw/Makefile b/1990/jaw/Makefile
index c9639f1d6..69e7486d0 100644
--- a/1990/jaw/Makefile
+++ b/1990/jaw/Makefile
@@ -195,7 +195,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1990/pjr/Makefile b/1990/pjr/Makefile
index a84138314..26238603f 100644
--- a/1990/pjr/Makefile
+++ b/1990/pjr/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1990/scjones/Makefile b/1990/scjones/Makefile
index 4ddeabb62..b39d628f1 100644
--- a/1990/scjones/Makefile
+++ b/1990/scjones/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1990/stig/Makefile b/1990/stig/Makefile
index 9b947207b..fb269ac85 100644
--- a/1990/stig/Makefile
+++ b/1990/stig/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1990/tbr/Makefile b/1990/tbr/Makefile
index 65d0aa185..9fb39a8d7 100644
--- a/1990/tbr/Makefile
+++ b/1990/tbr/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1990/theorem/Makefile b/1990/theorem/Makefile
index 836ad418d..7bc2666dc 100644
--- a/1990/theorem/Makefile
+++ b/1990/theorem/Makefile
@@ -210,7 +210,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1990/westley/Makefile b/1990/westley/Makefile
index 148b80bda..be3d447ce 100644
--- a/1990/westley/Makefile
+++ b/1990/westley/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1991/ant/Makefile b/1991/ant/Makefile
index eb0a8addb..c2d252b40 100644
--- a/1991/ant/Makefile
+++ b/1991/ant/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1991/brnstnd/Makefile b/1991/brnstnd/Makefile
index 74d1309ec..6acb63056 100644
--- a/1991/brnstnd/Makefile
+++ b/1991/brnstnd/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1991/buzzard/Makefile b/1991/buzzard/Makefile
index c3d8bb61d..69ecdf597 100644
--- a/1991/buzzard/Makefile
+++ b/1991/buzzard/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1991/cdupont/Makefile b/1991/cdupont/Makefile
index 1602fe73b..58429780b 100644
--- a/1991/cdupont/Makefile
+++ b/1991/cdupont/Makefile
@@ -181,7 +181,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1991/davidguy/Makefile b/1991/davidguy/Makefile
index 7d91029dd..4e0f14467 100644
--- a/1991/davidguy/Makefile
+++ b/1991/davidguy/Makefile
@@ -187,7 +187,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1991/dds/Makefile b/1991/dds/Makefile
index 4da874e67..6d63a08a6 100644
--- a/1991/dds/Makefile
+++ b/1991/dds/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1991/fine/Makefile b/1991/fine/Makefile
index 186c7c54f..f7a9d4b26 100644
--- a/1991/fine/Makefile
+++ b/1991/fine/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1991/rince/Makefile b/1991/rince/Makefile
index 740f4e4b4..8976f6d30 100644
--- a/1991/rince/Makefile
+++ b/1991/rince/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1991/westley/Makefile b/1991/westley/Makefile
index ec8664593..322d87704 100644
--- a/1991/westley/Makefile
+++ b/1991/westley/Makefile
@@ -239,7 +239,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1992/adrian/Makefile b/1992/adrian/Makefile
index 6138552b5..2287ea16f 100644
--- a/1992/adrian/Makefile
+++ b/1992/adrian/Makefile
@@ -233,7 +233,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1992/albert/Makefile b/1992/albert/Makefile
index bf89c73b9..37402c5a7 100644
--- a/1992/albert/Makefile
+++ b/1992/albert/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1992/ant/Makefile b/1992/ant/Makefile
index f3240a8bf..47aeef00d 100644
--- a/1992/ant/Makefile
+++ b/1992/ant/Makefile
@@ -197,7 +197,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1992/buzzard.1/Makefile b/1992/buzzard.1/Makefile
index 8d83064ae..34f99db29 100644
--- a/1992/buzzard.1/Makefile
+++ b/1992/buzzard.1/Makefile
@@ -217,7 +217,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1992/buzzard.2/Makefile b/1992/buzzard.2/Makefile
index 00d78b3bf..c71902b51 100644
--- a/1992/buzzard.2/Makefile
+++ b/1992/buzzard.2/Makefile
@@ -191,7 +191,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1992/gson/Makefile b/1992/gson/Makefile
index 9778594db..6dc526f94 100644
--- a/1992/gson/Makefile
+++ b/1992/gson/Makefile
@@ -191,7 +191,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1992/imc/Makefile b/1992/imc/Makefile
index 529dd46d8..a39d0ecda 100644
--- a/1992/imc/Makefile
+++ b/1992/imc/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1992/kivinen/Makefile b/1992/kivinen/Makefile
index 91c0ef51f..31bff9723 100644
--- a/1992/kivinen/Makefile
+++ b/1992/kivinen/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1992/lush/Makefile b/1992/lush/Makefile
index 569f712e6..7d4bff9a0 100644
--- a/1992/lush/Makefile
+++ b/1992/lush/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1992/marangon/Makefile b/1992/marangon/Makefile
index 48029bf46..9a1475034 100644
--- a/1992/marangon/Makefile
+++ b/1992/marangon/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1992/nathan/Makefile b/1992/nathan/Makefile
index 317873d02..773fc103b 100644
--- a/1992/nathan/Makefile
+++ b/1992/nathan/Makefile
@@ -181,7 +181,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1992/vern/Makefile b/1992/vern/Makefile
index 06ee31cb9..b35e6c67b 100644
--- a/1992/vern/Makefile
+++ b/1992/vern/Makefile
@@ -191,7 +191,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1992/westley/Makefile b/1992/westley/Makefile
index 9304a55ef..bad41782c 100644
--- a/1992/westley/Makefile
+++ b/1992/westley/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1993/ant/Makefile b/1993/ant/Makefile
index 707436d50..c440953c7 100644
--- a/1993/ant/Makefile
+++ b/1993/ant/Makefile
@@ -192,7 +192,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1993/cmills/Makefile b/1993/cmills/Makefile
index 7baa3e6f7..b32263083 100644
--- a/1993/cmills/Makefile
+++ b/1993/cmills/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1993/dgibson/Makefile b/1993/dgibson/Makefile
index 96d721b33..f7ba130a4 100644
--- a/1993/dgibson/Makefile
+++ b/1993/dgibson/Makefile
@@ -193,7 +193,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1993/ejb/Makefile b/1993/ejb/Makefile
index 698ed9670..9274e7b06 100644
--- a/1993/ejb/Makefile
+++ b/1993/ejb/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1993/jonth/Makefile b/1993/jonth/Makefile
index b0f4f8636..5143aacd0 100644
--- a/1993/jonth/Makefile
+++ b/1993/jonth/Makefile
@@ -193,7 +193,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1993/leo/Makefile b/1993/leo/Makefile
index b67e9bda7..556148714 100644
--- a/1993/leo/Makefile
+++ b/1993/leo/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1993/lmfjyh/Makefile b/1993/lmfjyh/Makefile
index 35025bea9..b05fce8a5 100644
--- a/1993/lmfjyh/Makefile
+++ b/1993/lmfjyh/Makefile
@@ -191,7 +191,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1993/plummer/Makefile b/1993/plummer/Makefile
index 931f52f9f..a934bdffc 100644
--- a/1993/plummer/Makefile
+++ b/1993/plummer/Makefile
@@ -187,7 +187,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1993/rince/Makefile b/1993/rince/Makefile
index 8ae0bf4e9..6e7580f3e 100644
--- a/1993/rince/Makefile
+++ b/1993/rince/Makefile
@@ -190,7 +190,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1993/schnitzi/Makefile b/1993/schnitzi/Makefile
index 5b2827331..e5ff63905 100644
--- a/1993/schnitzi/Makefile
+++ b/1993/schnitzi/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1993/vanb/Makefile b/1993/vanb/Makefile
index c05d16978..e98c45f9f 100644
--- a/1993/vanb/Makefile
+++ b/1993/vanb/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1994/dodsond1/Makefile b/1994/dodsond1/Makefile
index e5295a46a..7d6d4ab48 100644
--- a/1994/dodsond1/Makefile
+++ b/1994/dodsond1/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1994/dodsond2/Makefile b/1994/dodsond2/Makefile
index 7d92c47fd..b9cc0fd8d 100644
--- a/1994/dodsond2/Makefile
+++ b/1994/dodsond2/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1994/horton/Makefile b/1994/horton/Makefile
index 0efbc7a9c..0c19129c3 100644
--- a/1994/horton/Makefile
+++ b/1994/horton/Makefile
@@ -192,7 +192,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1994/imc/Makefile b/1994/imc/Makefile
index 4e4717788..4c254f076 100644
--- a/1994/imc/Makefile
+++ b/1994/imc/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1994/ldb/Makefile b/1994/ldb/Makefile
index 63e901616..41c4acbde 100644
--- a/1994/ldb/Makefile
+++ b/1994/ldb/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1994/schnitzi/Makefile b/1994/schnitzi/Makefile
index de53b17f5..705c3f8f3 100644
--- a/1994/schnitzi/Makefile
+++ b/1994/schnitzi/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1994/shapiro/Makefile b/1994/shapiro/Makefile
index 863ba56e9..0c82c0265 100644
--- a/1994/shapiro/Makefile
+++ b/1994/shapiro/Makefile
@@ -191,7 +191,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1994/smr/Makefile b/1994/smr/Makefile
index 1e873f885..1b9139f1c 100644
--- a/1994/smr/Makefile
+++ b/1994/smr/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1994/tvr/Makefile b/1994/tvr/Makefile
index 8df9fefef..d99aa30de 100644
--- a/1994/tvr/Makefile
+++ b/1994/tvr/Makefile
@@ -189,7 +189,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1994/weisberg/Makefile b/1994/weisberg/Makefile
index 3492e3d3f..13b071e80 100644
--- a/1994/weisberg/Makefile
+++ b/1994/weisberg/Makefile
@@ -191,7 +191,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1994/westley/Makefile b/1994/westley/Makefile
index 6ff941fb2..0019cd330 100644
--- a/1994/westley/Makefile
+++ b/1994/westley/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1995/cdua/Makefile b/1995/cdua/Makefile
index fbcff5f70..ee9e2fc94 100644
--- a/1995/cdua/Makefile
+++ b/1995/cdua/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1995/dodsond1/Makefile b/1995/dodsond1/Makefile
index 4c2bb614b..738463a39 100644
--- a/1995/dodsond1/Makefile
+++ b/1995/dodsond1/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1995/dodsond2/Makefile b/1995/dodsond2/Makefile
index cd4803329..87401beb8 100644
--- a/1995/dodsond2/Makefile
+++ b/1995/dodsond2/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1995/esde/Makefile b/1995/esde/Makefile
index ee1f3c059..ea4c42c87 100644
--- a/1995/esde/Makefile
+++ b/1995/esde/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1995/garry/Makefile b/1995/garry/Makefile
index 0c3952aa0..4bd0c1ce9 100644
--- a/1995/garry/Makefile
+++ b/1995/garry/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1995/heathbar/Makefile b/1995/heathbar/Makefile
index f722047d6..d71f07ba1 100644
--- a/1995/heathbar/Makefile
+++ b/1995/heathbar/Makefile
@@ -181,7 +181,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1995/leo/Makefile b/1995/leo/Makefile
index b9c5a6f92..7ba6bf4e1 100644
--- a/1995/leo/Makefile
+++ b/1995/leo/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1995/makarios/Makefile b/1995/makarios/Makefile
index d566d3c01..0f761830c 100644
--- a/1995/makarios/Makefile
+++ b/1995/makarios/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1995/savastio/Makefile b/1995/savastio/Makefile
index dc908b23d..6ef2e51d6 100644
--- a/1995/savastio/Makefile
+++ b/1995/savastio/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1995/schnitzi/Makefile b/1995/schnitzi/Makefile
index 3a39e9215..9f7932123 100644
--- a/1995/schnitzi/Makefile
+++ b/1995/schnitzi/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1995/spinellis/Makefile b/1995/spinellis/Makefile
index 869818869..fcbb62f01 100644
--- a/1995/spinellis/Makefile
+++ b/1995/spinellis/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1995/vanschnitz/Makefile b/1995/vanschnitz/Makefile
index 2adfc4077..09ebf56de 100644
--- a/1995/vanschnitz/Makefile
+++ b/1995/vanschnitz/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1996/august/Makefile b/1996/august/Makefile
index 0cac4df13..1b3252f53 100644
--- a/1996/august/Makefile
+++ b/1996/august/Makefile
@@ -194,7 +194,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1996/dalbec/Makefile b/1996/dalbec/Makefile
index 23bc8dab9..1b3d1fa32 100644
--- a/1996/dalbec/Makefile
+++ b/1996/dalbec/Makefile
@@ -181,7 +181,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1996/eldby/Makefile b/1996/eldby/Makefile
index 8cb1bcd9b..7d2fe6438 100644
--- a/1996/eldby/Makefile
+++ b/1996/eldby/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1996/gandalf/Makefile b/1996/gandalf/Makefile
index 1354b151e..c2ad63319 100644
--- a/1996/gandalf/Makefile
+++ b/1996/gandalf/Makefile
@@ -193,7 +193,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1996/huffman/Makefile b/1996/huffman/Makefile
index 167bc62b9..8d2a2cf32 100644
--- a/1996/huffman/Makefile
+++ b/1996/huffman/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1996/jonth/Makefile b/1996/jonth/Makefile
index fc29c44b9..f832bb7ad 100644
--- a/1996/jonth/Makefile
+++ b/1996/jonth/Makefile
@@ -187,7 +187,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1996/rcm/Makefile b/1996/rcm/Makefile
index ba7cec05f..6f2528114 100644
--- a/1996/rcm/Makefile
+++ b/1996/rcm/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1996/schweikh1/Makefile b/1996/schweikh1/Makefile
index a03147a08..1b25c394f 100644
--- a/1996/schweikh1/Makefile
+++ b/1996/schweikh1/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1996/schweikh2/Makefile b/1996/schweikh2/Makefile
index 4c5bbbfa2..bf8ed8266 100644
--- a/1996/schweikh2/Makefile
+++ b/1996/schweikh2/Makefile
@@ -181,7 +181,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1996/schweikh3/Makefile b/1996/schweikh3/Makefile
index cebd499bd..01f57565c 100644
--- a/1996/schweikh3/Makefile
+++ b/1996/schweikh3/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1996/westley/Makefile b/1996/westley/Makefile
index 3d0509ed7..077fc7f9b 100644
--- a/1996/westley/Makefile
+++ b/1996/westley/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1998/banks/Makefile b/1998/banks/Makefile
index 454cfbf33..bec90275e 100644
--- a/1998/banks/Makefile
+++ b/1998/banks/Makefile
@@ -187,7 +187,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1998/bas1/Makefile b/1998/bas1/Makefile
index be56a58e7..f3fc7f301 100644
--- a/1998/bas1/Makefile
+++ b/1998/bas1/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1998/bas2/Makefile b/1998/bas2/Makefile
index 7004db852..dc4cb0c30 100644
--- a/1998/bas2/Makefile
+++ b/1998/bas2/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1998/chaos/Makefile b/1998/chaos/Makefile
index c86d49fb7..2dd957737 100644
--- a/1998/chaos/Makefile
+++ b/1998/chaos/Makefile
@@ -192,7 +192,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1998/df/Makefile b/1998/df/Makefile
index 3019b9c61..8c8c63d22 100644
--- a/1998/df/Makefile
+++ b/1998/df/Makefile
@@ -187,7 +187,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1998/dlowe/Makefile b/1998/dlowe/Makefile
index 2f8e3b508..32e1631d9 100644
--- a/1998/dlowe/Makefile
+++ b/1998/dlowe/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1998/dloweneil/Makefile b/1998/dloweneil/Makefile
index a28e103dd..549099c2c 100644
--- a/1998/dloweneil/Makefile
+++ b/1998/dloweneil/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1998/dorssel/Makefile b/1998/dorssel/Makefile
index 685b49e90..d6c422062 100644
--- a/1998/dorssel/Makefile
+++ b/1998/dorssel/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1998/fanf/Makefile b/1998/fanf/Makefile
index 8a2ce2f8d..82b5f9eb9 100644
--- a/1998/fanf/Makefile
+++ b/1998/fanf/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1998/schnitzi/Makefile b/1998/schnitzi/Makefile
index 0e5fb8eed..3dc531f97 100644
--- a/1998/schnitzi/Makefile
+++ b/1998/schnitzi/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1998/schweikh1/Makefile b/1998/schweikh1/Makefile
index a9d08c7fe..5361d6a1e 100644
--- a/1998/schweikh1/Makefile
+++ b/1998/schweikh1/Makefile
@@ -128,6 +128,7 @@ all: data ${TARGET}
${PROG}: ${PROG}.c
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
+ @echo "NOTE: for macOS use the alternate code through make alt. See README.md for details."
# alternative executable
#
@@ -184,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1998/schweikh1/README.md b/1998/schweikh1/README.md
index 05a9583bd..11d827ea3 100644
--- a/1998/schweikh1/README.md
+++ b/1998/schweikh1/README.md
@@ -14,8 +14,9 @@ Germany
make all
```
-An alternate version for this entry works with macOS. See the Alternate code
-section below for more details.
+There is an alternate version of this entry that will work with macOS. See the
+[Alternate code](#alternate-code) section below for details on how it works and
+how to use it.
## To run:
@@ -24,60 +25,100 @@ section below for more details.
./schweikh1
```
+NOTE: a limitation with the entry was that it required `gcc` but this limitation
+has been removed to make it more portable, requiring only `cc`.
+
### Alternate code:
-As noted above the alternate version works with macOS but there are some
-important notes as well as a description of how it works (spoilers for the
-original version as well).
+As noted above this entry will not work as it stands for macOS and there are
+some important notes as well as a description of how the fixed version works
+(the details of which are relevant to the original entry that no longer works as
+well as the fixed version but are described in the context of the macOS
+adjustments).
-With a MacBook Pro Max with the M1 chip some header files report an
-unsupported architecture and unsupported compiler (error, warning).
-However the defines are still found okay.
+#### macOS changes:
-For this alternate version you will need the command line tools which you can
-install like:
+As an aside: if you have a Mac with the Apple chip, some of the header files
+will report an unsupported architecture and unsupported compiler (error,
+warning). This will not make the program abort, however, but even with an Intel
+CPU though, the original entry will not work in macOS as it stands because
+`/usr/include` is hard-coded in the code and macOS does not have it.
+
+Nevertheless, although some of it would not work in other systems where
+`/usr/include` exists, the `#define`s would still be found okay, at least until
+a file was not found (this limitation was removed in both versions, see
+[thanks-for-fixes.md](/thanks-for-fixes.md) for details).
+
+However, as noted, macOS does **not** have `/usr/include` so this would not ever
+work for macOS without some changes, described next. For macOS you will need the
+command line tools installed which can be done like:
```sh
sudo xcode-select --install
```
-Finally as far as how this works if you look at line 55 you see a funny command.
-This goes for both versions. Now the key are two magic numbers, one on a
-different line shortly below the string. In the original the numbers are,
-respectively, 44 and 46. But how does this work? Well the string is:
+An important point is that the original version hard-coded `gcc` but just like
+the entry, the alternate version has also removed this limitation despite `gcc`
+existing (though it's `clang`) in macOS.
+
+Now as far as how this works if you look at the code of
+[schweikh1.c](schweikh1.c), on line 55 you'll see a funny command (this goes for
+the alternate version as well but a bit different).
+
+Now the key is two magic numbers, one (two of this exist) on a different line shortly below the
+string and the other a couple lines further below.
+
+In the original the numbers are, respectively, 44 and 46, but with the gcc
+limitation removed the numbers now are 43 and 45. But how does this work? Well
+the command is:
```
"0gcc -ansi -E -dM -undef %s /usr/include/%s>r\0 ("
```
-The first number means: the length starting from 0 up through the `>`. The
-second number is the same starting point but up through the `\0` which is why
-it's +2. But what happens if only the first number is updated? Most of the
-output will be just `#define` by itself; in the cases where there was text after
-that it was macros that certainly were not defined. There might have been other
-errors as well.
+which has been changed to be:
-This allows for opening the right files. The problem with the macOS is
-`/usr/include` does not exist: instead it's
+```
+"0cc -ansi -E -dM -undef %s /usr/include/%s>r\0 ("
+```
+
+Shortly below that you will see, as noted above, the numbers:
+
+```c
+if ((H = fopen (__FILE__+43, 43+__FILE__)))
+while ((fgets (L, (int)sizeof L, H)) != 0) {
+ I[strcspn (I, 45+__FILE__)] = O = 0;
+```
+
+The first number in the above C means the length starting from 0 up through the
+`>`. The second number is the same starting point but up through the `\0` which
+is why it's `+2`. But what happens if only the first number is updated (from the
+original)? Most of the output will be just `#define` by itself; in the cases
+where there was text after that it was macros that certainly were not defined.
+There might have been other errors as well.
+
+Changing this for macOS allows for opening the right files; the problem with the
+macOS is `/usr/include` does not exist: instead it's
`/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include` which is why
-the different command line and the different numbers.
+the different command line and the different numbers. The change of the numbers
+can be found in the alternate code and the explanation is the same.
To use this version use:
-
```sh
make alt
```
Use `schweikh1.alt` as you would `schweikh1` above.
+Bonus exercise: modify the code to provide a different compiler.
## Judges' remarks:
What does it do? It seems to print a list of system headers, perhaps
with words after them. Curiously, if you look at the list of words
defined in a given standard header, they are never printed directly
-after that header's name. Ah-hah! It's a conformance test for the
+after that header's name. Aha! It's a conformance test for the
standard headers.
This code is a wonder; it's a wonder that it compiles. I wonder
@@ -90,15 +131,17 @@ Do not read them if you want to figure this out yourself. "Amendment
One" refers to "NA1", the add-on to C89 which added some fairly
crufty internationalization support.
-NOTE: Some non-gcc compilers that are not fully ANSI standard do not
-compile this entry correctly. Using cc by default is not helpful
-most of the time on this entry, because the program has a hardcoded
+#### Historical note:
+
+Some non-gcc compilers that were not fully ANSI standard did not
+compile this entry correctly. Using cc by default was not helpful
+most of the time on this entry, because the program had a hardcoded
gcc invocation anyway. Anyone who uses egcs and has no plain gcc
will need to frob the source anyway and can be expected to do the
-right thing with `${CC}`. So use gcc.
+right thing with `${CC}`. So one should have used gcc.
-## Author's remarks
+## Author's remarks:
Important! This program, if it compiles at all, is mis-compiled by many
compilers due to compiler bugs. It could be the "least likely
diff --git a/1998/schweikh1/schweikh1.alt.c b/1998/schweikh1/schweikh1.alt.c
index 02569351b..089e134ad 100644
--- a/1998/schweikh1/schweikh1.alt.c
+++ b/1998/schweikh1/schweikh1.alt.c
@@ -3,9 +3,9 @@
/*#include H(dlib)*/
/*#include H(ring)*/
-#define x ) == 0 ?__LINE__:0){O =__LINE__;break;} }
-#define X(x) __LINE__ x __LINE__
-#define t(a)\
+#define x ) == 0 ?__LINE__:0){O =__LINE__;break;} }
+#define X(x) __LINE__ x __LINE__
+#define t(a)\
for (c = 0; c :\n"
char *I = L + __LINE__;
int O = printf (__FILE__, n[nn]) +
-#line 2 "0gcc -ansi -E -dM -undef %s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/%s>r\0 ("
+#line 2 "0cc -ansi -E -dM -undef %s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/%s>r\0 ("
sprintf (K, 1+__FILE__, f[S-*__FILE__] + __LINE__, n[nn]);
O += system (K);
- if ((G = fopen (__FILE__+95, "r")))
- while ((fgets (L, (int)sizeof L, G)) != 0) {
- I[strcspn (I, 97+__FILE__)] = O = 0;
+ if ((H = fopen (__FILE__+94, __FILE__+94)))
+ while ((fgets (L, (int)sizeof L, H)) != 0) {
+ I[strcspn (I, 96+__FILE__)] = O = 0;
#line 1 "*r"
t (n) t (e)
if (0 == O) O = puts (L);
}
- if (G != NULL) nn = fclose (G);
+ if (H != NULL) nn = fclose (H);
}
}
}
diff --git a/1998/schweikh1/schweikh1.c b/1998/schweikh1/schweikh1.c
index 88a8a135f..e42152b93 100644
--- a/1998/schweikh1/schweikh1.c
+++ b/1998/schweikh1/schweikh1.c
@@ -3,9 +3,9 @@
/*#include H(dlib)*/
/*#include H(ring)*/
-#define x ) == 0 ?__LINE__:0){O =__LINE__;break;} }
-#define X(x) __LINE__ x __LINE__
-#define t(a)\
+#define x ) == 0 ?__LINE__:0){O =__LINE__;break;} }
+#define X(x) __LINE__ x __LINE__
+#define t(a)\
for (c = 0; c :\n"
char *I = L + __LINE__;
int O = printf (__FILE__, n[nn]) +
-#line 2 "0gcc -ansi -E -dM -undef %s /usr/include/%s>r\0 ("
+#line 2 "0cc -ansi -E -dM -undef %s /usr/include/%s>r\0 ("
sprintf (K, 1+__FILE__, f[S-*__FILE__] + __LINE__, n[nn]);
O += system (K);
- if ((G = fopen (__FILE__+44, "r")))
- while ((fgets (L, (int)sizeof L, G)) != 0) {
- I[strcspn (I, 46+__FILE__)] = O = 0;
+ if ((H = fopen (__FILE__+43, 43+__FILE__)))
+ while ((fgets (L, (int)sizeof L, H)) != 0) {
+ I[strcspn (I, 45+__FILE__)] = O = 0;
#line 1 "*r"
t (n) t (e)
if (0 == O) O = puts (L);
}
- if (G != NULL) nn = fclose (G);
+ if (H != NULL) nn = fclose (H);
}
}
}
diff --git a/1998/schweikh2/Makefile b/1998/schweikh2/Makefile
index f879d08cd..aa3f98403 100644
--- a/1998/schweikh2/Makefile
+++ b/1998/schweikh2/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1998/schweikh3/Makefile b/1998/schweikh3/Makefile
index d033e0cff..79270aaf7 100644
--- a/1998/schweikh3/Makefile
+++ b/1998/schweikh3/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/1998/tomtorfs/Makefile b/1998/tomtorfs/Makefile
index 13388b94a..635464fe6 100644
--- a/1998/tomtorfs/Makefile
+++ b/1998/tomtorfs/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2000/anderson/Makefile b/2000/anderson/Makefile
index 7f1f7383c..0f40c411f 100644
--- a/2000/anderson/Makefile
+++ b/2000/anderson/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2000/bellard/Makefile b/2000/bellard/Makefile
index 2693a0b97..c6e9880f9 100644
--- a/2000/bellard/Makefile
+++ b/2000/bellard/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2000/bmeyer/Makefile b/2000/bmeyer/Makefile
index d4f13cf65..443cb608a 100644
--- a/2000/bmeyer/Makefile
+++ b/2000/bmeyer/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2000/briddlebane/Makefile b/2000/briddlebane/Makefile
index cc9707ed2..4374a2420 100644
--- a/2000/briddlebane/Makefile
+++ b/2000/briddlebane/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2000/dhyang/Makefile b/2000/dhyang/Makefile
index c600fd347..5194d313a 100644
--- a/2000/dhyang/Makefile
+++ b/2000/dhyang/Makefile
@@ -212,7 +212,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2000/dlowe/Makefile b/2000/dlowe/Makefile
index 04205cdc9..c703d3431 100644
--- a/2000/dlowe/Makefile
+++ b/2000/dlowe/Makefile
@@ -187,7 +187,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2000/jarijyrki/Makefile b/2000/jarijyrki/Makefile
index a07432e86..82a80ed14 100644
--- a/2000/jarijyrki/Makefile
+++ b/2000/jarijyrki/Makefile
@@ -190,7 +190,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2000/natori/Makefile b/2000/natori/Makefile
index 7965a1c9e..b69fda891 100644
--- a/2000/natori/Makefile
+++ b/2000/natori/Makefile
@@ -62,7 +62,7 @@ CDEFINE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
# Include files that are needed to compile
#
-CINCLUDE= -include stdlib.h -include math.h
+CINCLUDE=
# Optimization
#
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2000/natori/README.md b/2000/natori/README.md
index 863536b40..3f926a685 100644
--- a/2000/natori/README.md
+++ b/2000/natori/README.md
@@ -23,9 +23,8 @@ Alternate code section below for more details.
## Try:
-```sh
-echo "Do or do not. There is no try."
-```
+Try modifying the code so that it will show another Moon phase based on input
+or else just by the code itself. Bonus points if you can make it show all!
### Alternate code:
@@ -45,7 +44,8 @@ What happens if you run it in the northern hemisphere? Are there any
differences?
Can you identify any Moon phases that result in the same output of both
-versions?
+versions? Or are there any?
+
## Judges' remarks:
diff --git a/2000/natori/natori.alt.c b/2000/natori/natori.alt.c
index ce74329cd..3b11bd21f 100644
--- a/2000/natori/natori.alt.c
+++ b/2000/natori/natori.alt.c
@@ -1,4 +1,3 @@
-double l;
-int moon(int _, int o, int O){
-return putchar((_--+22&&_+44&&main(_,-43,_),_&&(int)o)?(main(-43,(int)++o,(int)O),((l=((int)o+21)/sqrt(3-(int)O*22-(int)O*(int)O),l*l<4&&(fabs(((time(0)-607728)%2551443)/405859.-4.7+acos(-l/2))<1.57))[" #"])):10);}
-main(int _,char**o,char**O){return moon(_, (int)o, (int)O); }
+#include
+#include
+double l; int moon(int _, int o, int O){ return putchar((_--+22&&_+44&&main(_,-43,_),_&&(int)o)?(main(-43,(int)++o,(int)O),((l=((int)o+21)/sqrt(3-(int)O*22-(int)O*(int)O),l*l<4&&(fabs(((time(0)-607728)%2551443)/405859.-4.7+acos(-l/2))<1.57))[" #"])):10);} main(int _,char**o,char**O){return moon(_, (int)o, (int)O); }
diff --git a/2000/natori/natori.c b/2000/natori/natori.c
index 8f0c7ac16..227aafb85 100644
--- a/2000/natori/natori.c
+++ b/2000/natori/natori.c
@@ -1,4 +1,3 @@
-double l;
-int moon(int _, int o, int O){
-return putchar((_--+22&&_+44&&main(_,-43,_),_&&(int)o)?(main(-43,(int)++o,(int)O),((l=((int)o+21)/sqrt(3-(int)O*22-(int)O*(int)O),l*l<4&&(fabs(((time(0)-607728)%2551443)/405859.-4.7+acos(l/2))<1.57))[" #"])):10);}
-main(int _,char**o,char**O){return moon(_, (int)o, (int)O); }
+#include
+#include
+double l;int moon(int _, int o, int O){return putchar((_--+22&&_+44&&main(_,-43,_),_&&(int)o)?(main(-43,(int)++o,(int)O),((l=((int)o+21)/sqrt(3-(int)O*22-(int)O*(int)O),l*l<4&&(fabs(((time(0)-607728)%2551443)/405859.-4.7+acos(l/2))<1.57))[" #"])):10);}main(int _,char**o,char**O){return moon(_, (int)o, (int)O); }
diff --git a/2000/primenum/Makefile b/2000/primenum/Makefile
index 27e7a0d55..b85d5c81d 100644
--- a/2000/primenum/Makefile
+++ b/2000/primenum/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2000/rince/Makefile b/2000/rince/Makefile
index fe80aaa12..d2fc2d67c 100644
--- a/2000/rince/Makefile
+++ b/2000/rince/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2000/robison/Makefile b/2000/robison/Makefile
index 5d292185e..5b57f3f4a 100644
--- a/2000/robison/Makefile
+++ b/2000/robison/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2000/schneiderwent/Makefile b/2000/schneiderwent/Makefile
index 79d701263..fdb7ecfc4 100644
--- a/2000/schneiderwent/Makefile
+++ b/2000/schneiderwent/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2000/thadgavin/Makefile b/2000/thadgavin/Makefile
index bc45baa1d..3a10d602e 100644
--- a/2000/thadgavin/Makefile
+++ b/2000/thadgavin/Makefile
@@ -195,7 +195,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2000/tomx/Makefile b/2000/tomx/Makefile
index 7e5708d3f..9c2a8f103 100644
--- a/2000/tomx/Makefile
+++ b/2000/tomx/Makefile
@@ -181,7 +181,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2001/README.md b/2001/README.md
index beaf16c0e..359fa780d 100644
--- a/2001/README.md
+++ b/2001/README.md
@@ -20,7 +20,7 @@ systems the Makefile needs to be changed. See the Makefile for details.
Read over the Makefile for compile/build issues. Your system may
require certain changes (add or remove a library, add or remove a
-#define).
+`#define` i.e. the `-D` flag).
Some ANSI C compilers are not quite as good as they should be. If
yours is lacking, you may need to compile using gcc instead of your
@@ -32,60 +32,57 @@ local compiler.
There were some outstanding entries that did not win. Unfortunately
some very good entries lost because they:
- + depended too much on non-portable side effects in expressions;
- + depended too much on a particular byte order;
- + required the use of a special script, data file or pseudo-machine
- language that was not supplied with the entry.
+- depended too much on non-portable side effects in expressions;
+- depended too much on a particular byte order;
+- required the use of a special script, data file or pseudo-machine
+ language that was not supplied with the entry.
We hope the authors of some of those entries will fix and re-submit
them for the next IOCCC.
-We believe you will be impressed with this year's winners. The Best of Show
-is a fine example of obfuscation. But don't ignore the other winners!
-There are games, programs that speak, ones that compile code and one that
-might run binaries you already have!
+We believe you will be impressed with this year's winners. The [Best of
+Show](ollinger/README.md) is a fine example of obfuscation. But don't ignore
+the other winners! There are games, programs that speak, ones that compile code
+and [one that might run binaries you already have](2001/anonymous/README.md).
-The Worst Abuse of the Rules is technically allowed by the rules. This year
-we awarded it again, but don't assume you can get away with using the same
-technique next time ... :-)
+The [Best/Worst Abuse of the Rules](bellard/README.md) is technically allowed by the
+[rules](rules.txt). This year we awarded it again, but don't assume you can get
+away with using the same technique next time ... :-)
This year there were several repeat winners. This is understating the
-achievement a little - one person has won 8 times before! (Please note that
-judging is done completely anonymously).
+achievement a little - [one
+person](https://www.ioccc.org/winners.html#Brian_Westley) has won 8 times
+before! (Please note that judging is done completely anonymously.)
-Why has it taken so long to post the winning source?
-----------------------------------------------------
+## Why has it taken so long to post the winning source?
-This is somewhat my (Simon Cooper) fault. I do apologize to the IOCCC
+This is somewhat my (Simon Cooper's) fault. I do apologize to the IOCCC
community for this! Judging does take quite a lot of time, and I
over-committed myself several times this year. Without divulging too much,
we do look at and work out what every entry does.
-Final Comments
---------------
+## Final Comments
Please send us comments and suggestions what we have expressed above.
Also include anything else that you would like to see in future contests.
Send such email to:
- questions@ioccc.org
+```
+questions@ioccc.org
+```
If you use, distribute or publish these entries in some way, please drop
us a line. We enjoy seeing who, where and how the contest is used.
-You must include the words ``ioccc question'' in the subject of your email
+You must include the words 'ioccc question' in the subject of your email
message when sending email to the judges.
If you have problems with any of the entries, AND YOU HAVE A FIX, please
email the fix (patch file or the entire changed file) to the above address.
-Watch:
-
- https://www.ioccc.org/
-
-for news of the next contest.
+Watch for news of the next contest.
=-=
diff --git a/2001/anonymous/Makefile b/2001/anonymous/Makefile
index 5372c2f8c..6baf808d8 100644
--- a/2001/anonymous/Makefile
+++ b/2001/anonymous/Makefile
@@ -237,7 +237,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2001/bellard/Makefile b/2001/bellard/Makefile
index 1a0c1bca3..b88dcf0b3 100644
--- a/2001/bellard/Makefile
+++ b/2001/bellard/Makefile
@@ -191,7 +191,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2001/cheong/Makefile b/2001/cheong/Makefile
index 63748db3f..56b000708 100644
--- a/2001/cheong/Makefile
+++ b/2001/cheong/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2001/coupard/Makefile b/2001/coupard/Makefile
index 405aae64c..8d32b08a6 100644
--- a/2001/coupard/Makefile
+++ b/2001/coupard/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2001/ctk/Makefile b/2001/ctk/Makefile
index 43f5a7f42..cc43ec493 100644
--- a/2001/ctk/Makefile
+++ b/2001/ctk/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2001/dgbeards/Makefile b/2001/dgbeards/Makefile
index 22c155468..0cf7e0697 100644
--- a/2001/dgbeards/Makefile
+++ b/2001/dgbeards/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2001/herrmann1/Makefile b/2001/herrmann1/Makefile
index 91eacb58b..deebd3090 100644
--- a/2001/herrmann1/Makefile
+++ b/2001/herrmann1/Makefile
@@ -181,7 +181,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2001/herrmann2/Makefile b/2001/herrmann2/Makefile
index 48a0c0497..58550f6d7 100644
--- a/2001/herrmann2/Makefile
+++ b/2001/herrmann2/Makefile
@@ -190,7 +190,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2001/jason/Makefile b/2001/jason/Makefile
index 0d7e5557c..371aab0bc 100644
--- a/2001/jason/Makefile
+++ b/2001/jason/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2001/kev/Makefile b/2001/kev/Makefile
index 28a49481c..ab9c007f0 100644
--- a/2001/kev/Makefile
+++ b/2001/kev/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2001/ollinger/Makefile b/2001/ollinger/Makefile
index f27f23553..d71cb3a69 100644
--- a/2001/ollinger/Makefile
+++ b/2001/ollinger/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2001/rosten/Makefile b/2001/rosten/Makefile
index fd18af3b9..be2c63268 100644
--- a/2001/rosten/Makefile
+++ b/2001/rosten/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2001/schweikh/Makefile b/2001/schweikh/Makefile
index baaab32a7..ca7ce8bfb 100644
--- a/2001/schweikh/Makefile
+++ b/2001/schweikh/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2001/westley/Makefile b/2001/westley/Makefile
index 6fdeab0c0..f0cac5170 100644
--- a/2001/westley/Makefile
+++ b/2001/westley/Makefile
@@ -203,7 +203,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2001/williams/Makefile b/2001/williams/Makefile
index 8bacedef2..e5df31516 100644
--- a/2001/williams/Makefile
+++ b/2001/williams/Makefile
@@ -187,7 +187,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2004/anonymous/Makefile b/2004/anonymous/Makefile
index d27a50022..bffdba5e6 100644
--- a/2004/anonymous/Makefile
+++ b/2004/anonymous/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2004/arachnid/Makefile b/2004/arachnid/Makefile
index 07b9029c8..d5d612026 100644
--- a/2004/arachnid/Makefile
+++ b/2004/arachnid/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2004/burley/Makefile b/2004/burley/Makefile
index 76622ef07..59043e160 100644
--- a/2004/burley/Makefile
+++ b/2004/burley/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2004/gavare/Makefile b/2004/gavare/Makefile
index c8f48eed0..7844c25a6 100644
--- a/2004/gavare/Makefile
+++ b/2004/gavare/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2004/gavin/Makefile b/2004/gavin/Makefile
index db3591b48..c4c77e3bd 100644
--- a/2004/gavin/Makefile
+++ b/2004/gavin/Makefile
@@ -212,7 +212,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2004/hibachi/Makefile b/2004/hibachi/Makefile
index b74c9b992..5d37c988f 100644
--- a/2004/hibachi/Makefile
+++ b/2004/hibachi/Makefile
@@ -191,7 +191,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2004/hoyle/Makefile b/2004/hoyle/Makefile
index c8e2043ea..14b6aba11 100644
--- a/2004/hoyle/Makefile
+++ b/2004/hoyle/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2004/jdalbec/Makefile b/2004/jdalbec/Makefile
index dc33868ac..2edb31b40 100644
--- a/2004/jdalbec/Makefile
+++ b/2004/jdalbec/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2004/kopczynski/Makefile b/2004/kopczynski/Makefile
index a53b8d8a4..44c385cde 100644
--- a/2004/kopczynski/Makefile
+++ b/2004/kopczynski/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2004/newbern/Makefile b/2004/newbern/Makefile
index 2e6bd9ed2..d88d02193 100644
--- a/2004/newbern/Makefile
+++ b/2004/newbern/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2004/omoikane/Makefile b/2004/omoikane/Makefile
index 82a6fa1f9..738948037 100644
--- a/2004/omoikane/Makefile
+++ b/2004/omoikane/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2004/schnitzi/Makefile b/2004/schnitzi/Makefile
index 347bbf7ce..a05918a1d 100644
--- a/2004/schnitzi/Makefile
+++ b/2004/schnitzi/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2004/sds/Makefile b/2004/sds/Makefile
index 310548e97..ae6b52306 100644
--- a/2004/sds/Makefile
+++ b/2004/sds/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2004/vik1/Makefile b/2004/vik1/Makefile
index cdee1cebd..3df04de0c 100644
--- a/2004/vik1/Makefile
+++ b/2004/vik1/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2004/vik2/Makefile b/2004/vik2/Makefile
index b379b6501..dd97dbbbf 100644
--- a/2004/vik2/Makefile
+++ b/2004/vik2/Makefile
@@ -211,7 +211,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2005/aidan/Makefile b/2005/aidan/Makefile
index ae16919a9..507e96ccb 100644
--- a/2005/aidan/Makefile
+++ b/2005/aidan/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2005/anon/Makefile b/2005/anon/Makefile
index 1a7b63164..b0773e23e 100644
--- a/2005/anon/Makefile
+++ b/2005/anon/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2005/boutines/Makefile b/2005/boutines/Makefile
index 2dc5f2f17..718c717b6 100644
--- a/2005/boutines/Makefile
+++ b/2005/boutines/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2005/chia/Makefile b/2005/chia/Makefile
index 1fc9f32d0..2ebe58d77 100644
--- a/2005/chia/Makefile
+++ b/2005/chia/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2005/giljade/Makefile b/2005/giljade/Makefile
index 1b37e10f9..8aa47743d 100644
--- a/2005/giljade/Makefile
+++ b/2005/giljade/Makefile
@@ -194,7 +194,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2005/jetro/Makefile b/2005/jetro/Makefile
index 320ae9fd6..550933d1b 100644
--- a/2005/jetro/Makefile
+++ b/2005/jetro/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2005/klausler/Makefile b/2005/klausler/Makefile
index 516366314..1bf6127fb 100644
--- a/2005/klausler/Makefile
+++ b/2005/klausler/Makefile
@@ -205,7 +205,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2005/mikeash/Makefile b/2005/mikeash/Makefile
index e9820a902..f7e502d13 100644
--- a/2005/mikeash/Makefile
+++ b/2005/mikeash/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2005/mynx/Makefile b/2005/mynx/Makefile
index 024136110..8dc952cc2 100644
--- a/2005/mynx/Makefile
+++ b/2005/mynx/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2005/persano/Makefile b/2005/persano/Makefile
index 32ed62618..52203f858 100644
--- a/2005/persano/Makefile
+++ b/2005/persano/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2005/sykes/Makefile b/2005/sykes/Makefile
index 290c56fad..afabaa6f0 100644
--- a/2005/sykes/Makefile
+++ b/2005/sykes/Makefile
@@ -192,7 +192,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2005/timwi/Makefile b/2005/timwi/Makefile
index d7f158a27..df31dfe41 100644
--- a/2005/timwi/Makefile
+++ b/2005/timwi/Makefile
@@ -181,7 +181,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2005/toledo/Makefile b/2005/toledo/Makefile
index 7bed242b1..8714b9658 100644
--- a/2005/toledo/Makefile
+++ b/2005/toledo/Makefile
@@ -189,7 +189,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2005/vik/Makefile b/2005/vik/Makefile
index 8e78cceb6..323660df3 100644
--- a/2005/vik/Makefile
+++ b/2005/vik/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2005/vince/Makefile b/2005/vince/Makefile
index 789235423..2b82340e1 100644
--- a/2005/vince/Makefile
+++ b/2005/vince/Makefile
@@ -187,7 +187,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2006/birken/Makefile b/2006/birken/Makefile
index 2025792c3..a5bff96c8 100644
--- a/2006/birken/Makefile
+++ b/2006/birken/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2006/borsanyi/Makefile b/2006/borsanyi/Makefile
index 0f4948b0d..6261c972c 100644
--- a/2006/borsanyi/Makefile
+++ b/2006/borsanyi/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2006/grothe/Makefile b/2006/grothe/Makefile
index 778c4a8dc..a5ef2c99d 100644
--- a/2006/grothe/Makefile
+++ b/2006/grothe/Makefile
@@ -181,7 +181,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2006/hamre/Makefile b/2006/hamre/Makefile
index 4639eeed8..71c8d2600 100644
--- a/2006/hamre/Makefile
+++ b/2006/hamre/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2006/meyer/Makefile b/2006/meyer/Makefile
index 73494df32..b6c772695 100644
--- a/2006/meyer/Makefile
+++ b/2006/meyer/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2006/monge/Makefile b/2006/monge/Makefile
index 28218b6b0..7ac715e03 100644
--- a/2006/monge/Makefile
+++ b/2006/monge/Makefile
@@ -189,7 +189,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2006/night/Makefile b/2006/night/Makefile
index 8d2edaae2..56e535ab3 100644
--- a/2006/night/Makefile
+++ b/2006/night/Makefile
@@ -192,7 +192,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2006/sloane/Makefile b/2006/sloane/Makefile
index a3f51a43d..9c2c24bea 100644
--- a/2006/sloane/Makefile
+++ b/2006/sloane/Makefile
@@ -189,7 +189,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2006/stewart/Makefile b/2006/stewart/Makefile
index 36daedc16..f3eeab3be 100644
--- a/2006/stewart/Makefile
+++ b/2006/stewart/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2006/sykes1/Makefile b/2006/sykes1/Makefile
index d2bc28e57..6d7c8009b 100644
--- a/2006/sykes1/Makefile
+++ b/2006/sykes1/Makefile
@@ -192,7 +192,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2006/sykes2/Makefile b/2006/sykes2/Makefile
index 688e991aa..ae4bd07d6 100644
--- a/2006/sykes2/Makefile
+++ b/2006/sykes2/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2006/toledo1/Makefile b/2006/toledo1/Makefile
index 4e96085ce..3c0835c05 100644
--- a/2006/toledo1/Makefile
+++ b/2006/toledo1/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2006/toledo2/Makefile b/2006/toledo2/Makefile
index 4876245c3..8ede97aba 100644
--- a/2006/toledo2/Makefile
+++ b/2006/toledo2/Makefile
@@ -191,7 +191,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2006/toledo3/Makefile b/2006/toledo3/Makefile
index 5d58c86bc..85902e9f0 100644
--- a/2006/toledo3/Makefile
+++ b/2006/toledo3/Makefile
@@ -194,7 +194,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2011/akari/Makefile b/2011/akari/Makefile
index b3ff4041c..0d0f6016f 100644
--- a/2011/akari/Makefile
+++ b/2011/akari/Makefile
@@ -207,7 +207,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2011/blakely/Makefile b/2011/blakely/Makefile
index 8300b684a..54fec8195 100644
--- a/2011/blakely/Makefile
+++ b/2011/blakely/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2011/borsanyi/Makefile b/2011/borsanyi/Makefile
index caaef7b3a..4bc940dcb 100644
--- a/2011/borsanyi/Makefile
+++ b/2011/borsanyi/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2011/dlowe/Makefile b/2011/dlowe/Makefile
index fc6b2e055..a7935160a 100644
--- a/2011/dlowe/Makefile
+++ b/2011/dlowe/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2011/eastman/Makefile b/2011/eastman/Makefile
index a91625bde..c50048ff6 100644
--- a/2011/eastman/Makefile
+++ b/2011/eastman/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2011/fredriksson/Makefile b/2011/fredriksson/Makefile
index 81ef1ed89..8c031cd84 100644
--- a/2011/fredriksson/Makefile
+++ b/2011/fredriksson/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2011/goren/Makefile b/2011/goren/Makefile
index cb53fccfb..c82c7d51a 100644
--- a/2011/goren/Makefile
+++ b/2011/goren/Makefile
@@ -187,7 +187,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2011/hamaji/Makefile b/2011/hamaji/Makefile
index 5d0001ac1..11c6ca575 100644
--- a/2011/hamaji/Makefile
+++ b/2011/hamaji/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2011/hou/Makefile b/2011/hou/Makefile
index dbf516ba8..8070d3def 100644
--- a/2011/hou/Makefile
+++ b/2011/hou/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2011/konno/Makefile b/2011/konno/Makefile
index fda497668..a306e68df 100644
--- a/2011/konno/Makefile
+++ b/2011/konno/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2011/richards/Makefile b/2011/richards/Makefile
index ebe6b5c34..9fb2e83bb 100644
--- a/2011/richards/Makefile
+++ b/2011/richards/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2011/toledo/Makefile b/2011/toledo/Makefile
index 358380e6d..37251ca72 100644
--- a/2011/toledo/Makefile
+++ b/2011/toledo/Makefile
@@ -190,7 +190,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2011/vik/Makefile b/2011/vik/Makefile
index b3da387cf..33849b8d1 100644
--- a/2011/vik/Makefile
+++ b/2011/vik/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2011/zucker/Makefile b/2011/zucker/Makefile
index 39c0933da..14a17a117 100644
--- a/2011/zucker/Makefile
+++ b/2011/zucker/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2012/blakely/Makefile b/2012/blakely/Makefile
index b460438ff..2414f2a38 100644
--- a/2012/blakely/Makefile
+++ b/2012/blakely/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2012/deckmyn/Makefile b/2012/deckmyn/Makefile
index a78d499cf..3fbe07981 100644
--- a/2012/deckmyn/Makefile
+++ b/2012/deckmyn/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2012/dlowe/Makefile b/2012/dlowe/Makefile
index d33246822..fe5a4e6ca 100644
--- a/2012/dlowe/Makefile
+++ b/2012/dlowe/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2012/endoh1/Makefile b/2012/endoh1/Makefile
index 630a2fb43..5cc385333 100644
--- a/2012/endoh1/Makefile
+++ b/2012/endoh1/Makefile
@@ -203,7 +203,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2012/endoh2/Makefile b/2012/endoh2/Makefile
index 3b3e27c2b..0cbbc6c6c 100644
--- a/2012/endoh2/Makefile
+++ b/2012/endoh2/Makefile
@@ -343,7 +343,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2012/grothe/Makefile b/2012/grothe/Makefile
index a7e409d36..86bf5d0c7 100644
--- a/2012/grothe/Makefile
+++ b/2012/grothe/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2012/hamano/Makefile b/2012/hamano/Makefile
index 30d6aac46..b55a31858 100644
--- a/2012/hamano/Makefile
+++ b/2012/hamano/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2012/hou/Makefile b/2012/hou/Makefile
index 369dc371b..ed0b6d181 100644
--- a/2012/hou/Makefile
+++ b/2012/hou/Makefile
@@ -189,7 +189,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2012/kang/Makefile b/2012/kang/Makefile
index bcad42f7b..54caf8ca4 100644
--- a/2012/kang/Makefile
+++ b/2012/kang/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2012/konno/Makefile b/2012/konno/Makefile
index 315dd40d5..bf5298813 100644
--- a/2012/konno/Makefile
+++ b/2012/konno/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2012/omoikane/Makefile b/2012/omoikane/Makefile
index edaaf5c7b..5cadf9fd3 100644
--- a/2012/omoikane/Makefile
+++ b/2012/omoikane/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2012/tromp/Makefile b/2012/tromp/Makefile
index f7084dd48..90b011cd0 100644
--- a/2012/tromp/Makefile
+++ b/2012/tromp/Makefile
@@ -195,7 +195,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2012/vik/Makefile b/2012/vik/Makefile
index 093297260..f53b40ade 100644
--- a/2012/vik/Makefile
+++ b/2012/vik/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2012/zeitak/Makefile b/2012/zeitak/Makefile
index 406ac47b0..19c7eec75 100644
--- a/2012/zeitak/Makefile
+++ b/2012/zeitak/Makefile
@@ -189,7 +189,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2013/birken/Makefile b/2013/birken/Makefile
index aa67284d8..1698f4d35 100644
--- a/2013/birken/Makefile
+++ b/2013/birken/Makefile
@@ -191,7 +191,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2013/cable1/Makefile b/2013/cable1/Makefile
index 7d554d245..395972d9d 100644
--- a/2013/cable1/Makefile
+++ b/2013/cable1/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2013/cable2/Makefile b/2013/cable2/Makefile
index 37143d561..c82301f48 100644
--- a/2013/cable2/Makefile
+++ b/2013/cable2/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2013/cable3/Makefile b/2013/cable3/Makefile
index 29691e1aa..10854bf8b 100644
--- a/2013/cable3/Makefile
+++ b/2013/cable3/Makefile
@@ -196,7 +196,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2013/dlowe/Makefile b/2013/dlowe/Makefile
index 8406028d7..e948e17c8 100644
--- a/2013/dlowe/Makefile
+++ b/2013/dlowe/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2013/dlowe/README.md b/2013/dlowe/README.md
index b06d81b1c..5cbc5c720 100644
--- a/2013/dlowe/README.md
+++ b/2013/dlowe/README.md
@@ -59,7 +59,7 @@ rm 1.txt 2.txt
## INABIAF - it's not a bug it's a feature! :-)
-This program will very likely crash or draw something funny with 0 args. Then
+This program will possibly crash or draw something funny with 0 args. Then
again it might not. :-) This is not a bug and should NOT be fixed.
Ask yourself the following questions: when will it crash, when will it draw
diff --git a/2013/endoh1/Makefile b/2013/endoh1/Makefile
index 4ac869aa7..20b1ea74c 100644
--- a/2013/endoh1/Makefile
+++ b/2013/endoh1/Makefile
@@ -197,7 +197,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2013/endoh1/README.md b/2013/endoh1/README.md
index 7f8674ecb..0d0071136 100644
--- a/2013/endoh1/README.md
+++ b/2013/endoh1/README.md
@@ -81,6 +81,7 @@ The usage is simple: you just have to wrap Lazy K program with `#include
[2]: https://tromp.github.io/cl/lazy-k.html
[3]: https://github.com/irori/lazyk
[4]: http://en.wikipedia.org/wiki/Polyglot_%28computing%29
+
### Obfuscation
... is inherent in SKI combinator calculus :-)
diff --git a/2013/endoh2/Makefile b/2013/endoh2/Makefile
index f6d7e81cd..59ec37718 100644
--- a/2013/endoh2/Makefile
+++ b/2013/endoh2/Makefile
@@ -225,7 +225,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2013/endoh3/Makefile b/2013/endoh3/Makefile
index fb7284a96..7ecfc439f 100644
--- a/2013/endoh3/Makefile
+++ b/2013/endoh3/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2013/endoh3/README.md b/2013/endoh3/README.md
index 6d90f6657..988d38f09 100644
--- a/2013/endoh3/README.md
+++ b/2013/endoh3/README.md
@@ -32,13 +32,24 @@ There are also some other musical samples, twinkle.abc and menuet.abc.
## Judges' remarks:
-This endoh3ram can tweet out a tune and is small enough to tweet.
+This program can toot out a tune that is small enough to posted to most social
+media platforms that have small message length limits.
+
+This endoh3ram can toot out a tune that is small enough.
+
+### A modern day (2023) note about the award 'Most tweetable 1-liner' and twitter:
+
+The IOCCC no longer endorses the use of what was once twitter, or whatever it
+might be called today. We recommend that you pick a responsible social media
+platform to post the program's output on. Nevertheless the award of this entry
+will remain the same for historical purposes.
## Author's remarks:
### Remarks
-This is a sound synthesizer for a subset of [ABC music notation](http://en.wikipedia.org/wiki/ABC_notation).
+This is a sound synthesizer for a subset of [ABC music
+notation](http://en.wikipedia.org/wiki/ABC_notation).
Try:
@@ -54,14 +65,14 @@ as `padsp` or `aoss`:
echo "CDEFGABc" | ./endoh3 | padsp tee /dev/dsp > /dev/null
```
-If you are using Mac OS X, try [sox](http://sox.sourceforge.net/):
+If you are using Mac OS X, try [sox](http://sox.sourceforge.net/) like so:
```sh
echo "CDEFGABc" | ./endoh3 | sox -q -traw -r8000 -b8 -e unsigned-integer - -tcoreaudio
```
-If they do not work, use the attached script to convert the output
-into a wave file format:
+If that does not work, use the attached script to convert the output into a wave
+file format:
```sh
echo "CDEFGABc" | ./endoh3 | ruby wavify.rb > cde.wav
@@ -69,19 +80,28 @@ echo "CDEFGABc" | ./endoh3 | ruby wavify.rb > cde.wav
and play `cde.wav`.
-You can enjoy some music scores that I attached:
+
+You can also enjoy some music scores that I attached. With `/dev/dsp` you can
+do so like:
+
```sh
cat twinkle.abc | ./endoh3 > /dev/dsp
cat menuet.abc | ./endoh3 > /dev/dsp
```
+but you should be able to modify it a way to meet your system requirements as
+described above.
+
+
### Obfuscation
-The following sequence of questions may be helpful to understand the endoh3ram.
+The following sequence of questions may be helpful to understand the `endoh3ram`
+program:
- How does it convert ABC notes into the frequency?
-- What is `89/84.`? I found it by using Stern-Brocot tree.
+- What is `89/84.`? I found it by using the [Stern-Brocot
+tree](https://en.wikipedia.org/wiki/Stern-Brocot_tree).
- How does it generate a wave? Hint: it generates a saw wave.
### Limitation
@@ -98,7 +118,7 @@ The following features are supported:
- `A3` (a dotted quarter note)
- `A4` (a half note)
-The following features are *not* supported:
+The following features are *NOT* supported:
- Sharp and flat: `^C` `_C`
- But it is possible to emit the half tones. Do you see how?
@@ -110,10 +130,12 @@ The following features are *not* supported:
### Known Bugs
-You can *not* write a note length immediately followed by a note `E`,
+You can *NOT* write a note length immediately followed by a note `E`,
such as `C2E2`.
-Can you know why?
-You can work it around by inserting a whitespace: `C2 E2`.
+
+Can you figure out why?
+
+A workaround is inserting a whitespace: `C2 E2`.
### Portability
@@ -130,61 +152,70 @@ I did write a score of the Happy Birthday song too.
(It does not matter because the song is out-of-copyright in my country.)
But I do not attach it to protect you from W\*\*\*\*r.
-For the same reason, do not play a score that contains only `z1092`.
+For the same reason, do not post a score that contains only `z1092`.
You know, it is ["the famous song"](http://en.wikipedia.org/wiki/4%E2%80%B233%E2%80%B3).
-### Spoiler (rot13)
+### Spoiler
-Urer vf n zntvpny rkcerffvba juvpu V sbhaq ol oehgr-sbepr:
+Here is a magical expression which I found by brute-force:
```c
-(p % 32 + 5) * 9 / 5 % 13 + a / 32 * 12 - 22
+(c % 32 + 5) * 9 / 5 % 13 + n / 32 * 12 - 22
```
-Vagrerfgvatyl, vg pbairegf na NFPVV ahzore bs NOP abgrf
-gb gur pbeerfcbaqvat gbar ahzore.
+Interestingly, it converts an ASCII number of ABC notes
+to the corresponding tone number.
- 'P' (NFPVV 67) => 3
- 'Q' (NFPVV 68) => 5
- 'R' (NFPVV 69) => 7
- 'S' (NFPVV 70) => 9
- 'T' (NFPVV 71) => 10
- 'N' (NFPVV 65) => 12
- 'O' (NFPVV 66) => 14
- 'p' (NFPVV 99) => 15
- 'q' (NFPVV 100) => 17
- 'r' (NFPVV 101) => 19
- 's' (NFPVV 102) => 20
- 't' (NFPVV 103) => 22
- 'n' (NFPVV 97) => 24
- 'o' (NFPVV 98) => 26
+```
+'C' (ASCII 67) => 3
+'D' (ASCII 68) => 5
+'E' (ASCII 69) => 7
+'F' (ASCII 70) => 9
+'G' (ASCII 71) => 10
+'A' (ASCII 65) => 12
+'B' (ASCII 66) => 14
+'c' (ASCII 99) => 15
+'d' (ASCII 100) => 17
+'e' (ASCII 101) => 19
+'f' (ASCII 102) => 20
+'g' (ASCII 103) => 22
+'a' (ASCII 97) => 24
+'b' (ASCII 98) => 26
+```
-Ol gur jnl, lbh pna jevgr n unys-gbar ol gur sbyybjvat punenpgref.
+By the way, you can write a half-tone by the following characters.
- 'X' => 4 (= P#)
- 'Y' => 6 (= Q#)
- 'H' => 8 (= S#)
- 'I' => 11 (= T#)
- 'C' => 13 (= N#)
+```
+'K' => 4 (= C#)
+'L' => 6 (= D#)
+'U' => 8 (= F#)
+'V' => 11 (= G#)
+'P' => 13 (= A#)
+```
-Abgr gung gur gbar ahzoref fvzcyl rahzrengr gur frzv-gbar fgrcf.
-Fb jr pna pnyphyngr gur serdhrapl rnfvyl: `cbj(2, a / 12.0)`.
-Gura, ubj pna jr pnyphyngr `cbj` jvgubhg `zngu.u`?
-`cbj(2, 1.0 / 12.0)` vf nccebkvzngrq ol `89/84.`.
-(V sbhaq guvf nccebkvzngvba ol hfvat [Fgrea-Oebpbg gerr](uggc://ra.jvxvcrqvn.bet/jvxv/Fgrea%R2%80%93Oebpbg_gerr).)
-Jr pna tnva gur serdhrapl ol zhygvcylvat gur inyhr `a` gvzrf.
+Note that the tone numbers simply enumerate the semi-tone steps. So we can
+calculate the frequency easily: `pow(2, n / 12.0)`. Then, how can we calculate
+`pow` without `math.h`? `pow(2, 1.0 / 12.0)` is approximated by `89/84.`. (I
+found this approximation by using the [Stern-Brocot
+tree](http://en.wikipedia.org/wiki/Stern%E2%80%93Brocot_tree).) We can gain the
+frequency by multiplying the value by `n` times.
-Svanyyl, gur sbyybjvat pbqr trarengrf n fnj jnir:
+Finally, the following code generates a saw wave:
- sbe(p = 0; p < yra; p++) chgpune(n = a * Q);
+```c
+for(c = 0; c < len; c++) putchar(a = n * D);
+```
-jurer `Q` vf n serdhrapl naq `n` vf n inevnoyr jubfr glcr vf pune.
-Ol nffvtavat sybng gb pune inevnoyr, gur vzcyvpvg glcr pbairegvba vf cresbezrq sebz sybng gb pune (zbqhyb 256).
-(Fgevpgyl fcrnxvat, guvf orunivbe vf haqrsvarq nppbeqvat gb 6.3.1.4 va P99;
-lbh pna ercynpr vg jvgu `(ybat)(a*Q)` vs lbh ner crqnagvp.)
+where `D` is a frequency and `a` is a variable whose type is char. By assigning
+float to char variable, the implicit type conversion is performed from float to
+char (modulo 256).
+
+(Strictly speaking, this behavior is undefined according to 6.3.1.4 in C99; you
+can replace it with `(long)(n*D)` if you are pedantic.)
+
+All that was left was to combine and condense the components. The key is
+squashing them into just one for-loop.
-Nyy gung jnf yrsg jnf gb pbzovar naq pbaqrafr gur pbzcbaragf.
-Gur xrl vf fdhnfuvat gurz vagb whfg bar sbe-ybbc.
## Copyright and CC BY-SA 4.0 License:
diff --git a/2013/endoh4/Makefile b/2013/endoh4/Makefile
index 3d8d60669..52ec68549 100644
--- a/2013/endoh4/Makefile
+++ b/2013/endoh4/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2013/hou/Makefile b/2013/hou/Makefile
index d4bff0c4e..4d3053439 100644
--- a/2013/hou/Makefile
+++ b/2013/hou/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2013/mills/Makefile b/2013/mills/Makefile
index 5ca3f0a93..3ab2a78af 100644
--- a/2013/mills/Makefile
+++ b/2013/mills/Makefile
@@ -190,7 +190,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2013/misaka/Makefile b/2013/misaka/Makefile
index 1cb14c46f..ae77104a9 100644
--- a/2013/misaka/Makefile
+++ b/2013/misaka/Makefile
@@ -260,7 +260,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2013/misaka/README.md b/2013/misaka/README.md
index 4b1c4c816..73279cfc0 100644
--- a/2013/misaka/README.md
+++ b/2013/misaka/README.md
@@ -1,8 +1,8 @@
# Most catty
- Don Yang
-
-
+Don Yang
+
+
## To build:
@@ -10,7 +10,8 @@
make
```
-This will build a bunch of versions of the code. See the author's details for information on all of these builds.
+This will build a bunch of versions of the code. See the author's details for
+information on all of these builds.
## To run:
@@ -42,6 +43,12 @@ seq 1 12 | ./horizontal_cat - - -
seq -f '%.0f ' 45 | ./horizontal_cat - misaka.c
```
+Alternately you can just try:
+
+```sh
+./demo.sh
+```
+
NOTE: Use - for standard input. For example:
```sh
@@ -50,31 +57,32 @@ NOTE: Use - for standard input. For example:
## Judges' remarks:
-There is more to cat than [mere cats](http://cheezburger.com/1680494336).
-Be they tall, fat, long or squat, this source code is sure to amuse.
+There is more to cat than [mere cats](http://cheezburger.com/1680494336). Be
+they tall, fat, long or squat, this source code is sure to amuse.
#### Slight diversion
While one of the judges was reviewing this entry on the stern of the
[Island Sky](http://www.noble-caledonia.co.uk/information/detail.asp?id=2&spid=76)
-in the middle of the Atlantic Ocean waiting the
+in the middle of the Atlantic Ocean waiting for the
[total solar eclipse of 2013](http://en.wikipedia.org/wiki/Solar_eclipse_of_November_3,_2013)
-the judge was stuck by a
+the judge was struck by a
[flying fish](http://en.wikipedia.org/wiki/Flying_fish).
-While result the impact was that the
-[Port](http://en.wikipedia.org/wiki/Port_wine) from Portugal was lost, the
-[Grog](http://www.travelforpassion.com/grog-factory-cape-verde-santo-antao-cape-verde-1602-photo) from Cape Verde
-and the laptop containing this entry was saved.
+While the result of the impact was that the
+[Port](http://en.wikipedia.org/wiki/Port_wine) from Portugal was lost, but the
+[Grog](https://web.archive.org/web/20130702003043/http://www.travelforpassion.com/grog-factory-cape-verde-santo-antao-cape-verde-1602-photo)
+from Cape Verde and the laptop containing this entry was saved.
-While I'm sure most cats would have preferred otherwise,
-the flying fish was returned to *em*swim with the fishes*em*. :-)
-No cats were harmed in the process of judging this entry.
+While I'm sure most [cats](https://rationalwiki.org/wiki/Fun:Cat) would have
+preferred otherwise, the flying fish was returned to *swim with the fishes*. :-)
+No [cats](https://rationalwiki.org/wiki/Fun:Cat) were harmed in the process of
+judging this entry.
## Author's remarks:
### Overview
-Misaka is a file concatenation utility, with at least two modes of
+`Misaka` is a file concatenation utility, with at least two modes of
operation:
```sh
@@ -86,16 +94,17 @@ cc misaka2.c -o vertical_cat
./vertical_cat [files...] > [output]
```
-Where [files...] are a list of text file names. Use "-" to read from stdin.
+Where `[files...]` are a list of text file names. Use `-` to read from stdin.
### Details
### Horizontal cat
-One of my favorite unix utilities is *cat*. The best thing about it was
-that it was named "cat". That, and it's useful for quickly showing contents
-of a file. Though it was primary meant for concatenating files, that
-function only seem to work if I wanted to concatenate files vertically.
+One of my favorite unix utilities is `cat`. The best thing about it was that it
+was named "[cat](https://rationalwiki.org/wiki/Fun:Cat)". That, and it's useful
+for quickly showing contents of a file. Though it was primary meant for
+concatenating files, that function only seem to work if I wanted to concatenate
+files vertically.
I thought the lack of horizontal concatenation must have been an oversight,
so I implemented this utility:
@@ -105,15 +114,15 @@ cc misaka.c -o horizontal_cat
./horizontal_cat files...
```
-*horizontal_cat* concatenates files horizontally and write the output to
-stdout. Each input file is padded with spaces on the right so that the
+`horizontal_cat` concatenates files horizontally and write the output to
+`stdout`. Each input file is padded with spaces on the right so that the
original text alignments are preserved.
-If "-" is specified as a file name, *horizontal_cat* will read from stdin.
-Unlike *cat*, *horizontal_cat* loads all input to memory first. Thus you
-can specify "-" multiple times to get stdin multiplied horizontally. For
-example, if you have seq(1) in your shell, you can add line numbers to both
-sides of misaka.c like this:
+If `-` is specified as a file name, `horizontal_cat` will read from `stdin`.
+Unlike `cat`, `horizontal_cat` loads all input to memory first. Thus you
+can specify `-` multiple times to get stdin multiplied horizontally. For
+example, if you have `seq(1)` in your shell, you can add line numbers to both
+sides of [misaka.c](misaka.c) like this:
```sh
seq -f ' %.0f ' 45 | ./horizontal_cat - misaka.c -
@@ -121,12 +130,12 @@ seq -f ' %.0f ' 45 | ./horizontal_cat - misaka.c -
### Vertical cat
-Because *horizontal_cat* must know the maximum width of all files before
+Because `horizontal_cat` must know the maximum width of all files before
writing any output, all files must be processed at least twice. To support
-stdin, file must be buffered to memory. This lead to the feature that
-*horizontal_cat* can be used to duplicate stdin.
+`stdin`, file must be buffered to memory. This lead to the feature that
+`horizontal_cat` can be used to duplicate `stdin`.
-Seems like the stdin doubling feature might be useful even for concatenating
+Seems like the `stdin` doubling feature might be useful even for concatenating
files vertically, so I included a vertical mode. But supporting vertical
mode with command line options would be no fun. Instead, vertical mode is
enabled by concatenating the source code horizontally:
@@ -137,8 +146,8 @@ gcc misaka2.c -o vertical_cat
./vertical_cat files...
```
-*vertical_cat* works more or less like *cat*, except you can use
-*vertical_cat* to duplicate stdin:
+`vertical_cat` works more or less like `cat`, except you can use
+`vertical_cat` to duplicate `stdin`:
```sh
./vertical_cat - -
@@ -146,9 +155,10 @@ gcc misaka2.c -o vertical_cat
### Long cat
-After *horizontal_cat* and *vertical_cat*, I thought, maybe all I really
-wanted was just more cats. So I implemented one more mode, this one is
-enabled by concatenating misaka.c vertically:
+After `horizontal_cat` and `vertical_cat`, I thought, maybe all I really wanted
+was just more [cats](https://rationalwiki.org/wiki/Fun:Cat). So I implemented
+one more mode, this one is enabled by concatenating [misaka.c](misaka.c)
+vertically:
```sh
./vertical_cat misaka.c misaka.c > misaka3.c
@@ -156,9 +166,9 @@ gcc misaka3.c -o long_cat
./long_cat
```
-*long_cat* outputs ASCII art of a cat to stdout. You can make this cat
+`long_cat` outputs ASCII art of a cat to `stdout`. You can make this cat
exponentially longer by concatenating more files vertically (up to 31 levels
-high, depending on sizeof(int) for your compiler):
+high, depending on `sizeof(int)` for your compiler):
```sh
./vertical_cat misaka.c misaka.c misaka.c > misaka4.c
@@ -190,9 +200,10 @@ triangle like the following will not have horizontally expanded output:
gcc misaka9.c -o same_as_long_cat
```
-Finally, if you lost track of how many misaka.c you have stacked together,
-you can feed the source to a brainfuck interpreter to get a overview of how
-the programs are stacked. Example:
+Finally, if you lost track of how many [misaka.c](misaka.c) you have stacked
+together, you can feed the source to a
+[brainfuck](https://en.wikipedia.org/wiki/Brainfuck) interpreter to get an
+overview of how the programs are stacked. Example:
```sh
perl bf.pl misaka9.c
@@ -200,43 +211,44 @@ perl bf.pl misaka9.c
This outputs:
- MISAKA
- MISAKA MISAKA
+```
+MISAKA
+MISAKA MISAKA
+```
### Return value
-*horizontal_cat* and *vertical_cat* will exit with zero status on success.
+`horizontal_cat` and `vertical_cat` will exit with zero status on success.
-If any input file fails to open, *horizontal_cat* and *vertical_cat* will
-report the offending file name to stdout, and exit with nonzero status.
+If any input file fails to open, `horizontal_cat` and `vertical_cat` will
+report the offending file name to `stdout`, and exit with nonzero status.
-If *horizontal_cat* and *vertical_cat* ran out of memory, they will exit
+If `horizontal_cat` and `vertical_cat` ran out of memory, they will exit
with nonzero status without outputting anything.
### Compatibility
-*horizontal_cat* makes the following assumptions about input files:
+`horizontal_cat` makes the following assumptions about input files:
- * ASCII with LF end of line sequences. If CR-LF sequences are used, CR
- characters will appear in the middle of output lines.
- * All characters are of equal width, even tab characters.
+* ASCII with LF end of line sequences. If CR-LF sequences are used, CR
+ characters will appear in the middle of output lines.
+* All characters are of equal width, even tab characters.
-Misaka has been verified to work on these following compiler+OS
-combinations:
+`Misaka` has been verified to work on these following compiler+OS combinations:
- * gcc 4.6.3 on Linux 3.5.0-41
- * gcc 4.4.5 on Linux 2.6.32-5
- * gcc 4.3.5 on JS/Linux 2.6.20
- * gcc 4.8.1 on Windows (Cygwin and MingW)
+* gcc 4.6.3 on Linux 3.5.0-41
+* gcc 4.4.5 on Linux 2.6.32-5
+* gcc 4.3.5 on JS/Linux 2.6.20
+* gcc 4.8.1 on Windows (Cygwin and MingW)
-Misaka requires a C99 compiler due to the use of single line comments.
-Misaka does not depend on any other C99 features.
+`Misaka` requires a C99 compiler due to the use of single line comments.
+`Misaka` does not depend on any other C99 features.
### Obfuscation
Main obfuscation is in having a C program that compiles when tiled
horizontally and vertically, while using single line comments in less than
-half of the lines. *And* maintaining a meaningful layout while doing that.
+half of the lines *and* maintaining a meaningful layout while doing that.
There are other challenges too, of course, like getting a Brainfuck program
to tile horizontally and vertically. Really, tiling code of any sort
@@ -245,12 +257,12 @@ once.
Other features to look for:
- * Peculiar bits that switches horizontal cat to vertical cat.
- * Run-length encoded long cat.
- * Symmetric and recycled variable names.
- * CRC of the source code in the source code.
+* Peculiar bits that switches horizontal cat to vertical cat.
+* Run-length encoded long cat.
+* Symmetric and recycled variable names.
+* CRC of the source code in the source code.
-"gcc -Wall" should provide a hint to where the mode switch happens, it
+`gcc -Wall` should provide a hint to where the mode switch happens, it
does not output any irrelevant other warnings (verified on 4.6.3).
### Extra files
@@ -258,16 +270,16 @@ does not output any irrelevant other warnings (verified on 4.6.3).
Extra files included in my submission are informational only, they are not
needed for the program to work.
- * bf.pl = a brainfuck interpreter, in case if you don't have one handy.
- * spoiler.html = making of this program.
+* [bf.pl](bf.pl) - a brainfuck interpreter, in case you don't have one handy.
+* [spoiler.html](spoiler.html) - making of this program.
-### About Misaka
+### About `Misaka`
-The name, layout, and functionality of Misaka is inspired by a particular
+The name, layout, and functionality of `Misaka` is inspired by a particular
stackable figure:
- * [Google images](http://google.co.jp/search?q=%E3%83%9F%E3%82%B5%E3%82%AB%E7%9B%9B%E3%82%8A&tbm=isch)
- * [Kotobukiya](http://main.kotobukiya.co.jp/figure/tsubucole_tmi_misakamori/)
+* [Google images](http://google.co.jp/search?q=%E3%83%9F%E3%82%B5%E3%82%AB%E7%9B%9B%E3%82%8A&tbm=isch)
+* [Kotobukiya](http://main.kotobukiya.co.jp/figure/tsubucole_tmi_misakamori/)
## Copyright and CC BY-SA 4.0 License:
diff --git a/2013/misaka/demo.sh b/2013/misaka/demo.sh
new file mode 100755
index 000000000..1a22107d8
--- /dev/null
+++ b/2013/misaka/demo.sh
@@ -0,0 +1,35 @@
+#!/usr/bin/env bash
+
+# make sure code compiled
+make all || exit 1
+
+echo "$ seq 1 12 | ./horizontal_cat - - -"
+seq 1 12 | ./horizontal_cat - - -
+sleep 1
+
+echo "$ ./long_cat"
+./long_cat
+sleep 1
+
+echo "$ ./long_faat_cat"
+./long_faat_cat
+sleep 1
+
+echo "$ ./long_fat_cat"
+./long_fat_cat
+sleep 1
+
+echo "$ ./loong_cat"
+./loong_cat
+sleep 1
+
+echo "$ ./loooong_cat"
+./loooong_cat
+sleep 1
+
+echo "$ ./loooooooong_cat"
+./loooooooong_cat
+sleep 1
+
+echo "$ seq -f '%.0f ' 45 | ./horizontal_cat - misaka.c"
+seq -f '%.0f ' 45 | ./horizontal_cat - misaka.c
diff --git a/2013/morgan1/Makefile b/2013/morgan1/Makefile
index ff9a008cc..b20299926 100644
--- a/2013/morgan1/Makefile
+++ b/2013/morgan1/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2013/morgan1/README.md b/2013/morgan1/README.md
index 73da297a5..f069a2dcb 100644
--- a/2013/morgan1/README.md
+++ b/2013/morgan1/README.md
@@ -1,7 +1,7 @@
# Smallest large system simulator
- Yves-Marie Morgan
-
+Yves-Marie Morgan
+
## To build:
@@ -37,33 +37,36 @@ observing site.
### Instructions
-It displays the position of the 8 planets of the solar system around the sun.
+It displays the position of the 8 planets of the solar system around the Sun.
The date given in the command line is in the format YYYY/MM/DD (year, month and
day). The direction keys can be used to move in time :
- Left : go back 1 day.
- Right : go forward 1 day.
- Down : go back 20 days.
- Up : go forward 20 days.
+* Left : go back 1 day.
+* Right : go forward 1 day.
+* Down : go back 20 days.
+* Up : go forward 20 days.
-It handles correctly all leap years and the switch between julian calendar and
-gregorian calendar (10 days missing between 1582/10/04 and 1582/10/15).
+It handles correctly all leap years and the switch between [Julian
+calendar](https://en.wikipedia.org/wiki/Julian_calendar) and
+[Gregorian calendar](https://en.wikipedia.org/wiki/Gregorian_calendar) (10 days
+missing between 1582/10/04 and 1582/10/15).
The scale is logarithmic to be able to display the 8 planets without having
-Mercury, Venus, Earth and Mars squizzed around the sun.
+Mercury, Venus, Earth and Mars squeezed around the Sun.
-The size is not proportinal either.
+The size is not proportional either.
### Bonus
-It also displays the position of 2 famous comets during their last approach :
-- The first one arround the third IOCCC.
+It also displays the position of 2 famous comets during their last approach:
+
+- The first one around the third IOCCC.
- The second one between the thirteenth and fourteenth IOCCC.
### Limitations
* ASCII character set is assumed.
-* a c99 compiler is required (for some math.h functions).
+* A C99 compiler is required (for some `math.h` functions).
* The position should be correct for years between (-1000; +3000)
* The approximations done in the formula are OK for displaying the
position around the sun but not for other applications like ephemeride or
@@ -72,33 +75,40 @@ It also displays the position of 2 famous comets during their last approach :
### Obfuscation
* Reuse of 1 letter variables.
-* Only the main function with some for loops.
+* Only the main function with some `for` loops.
* Constants for orbital elements encoded in a string.
-* Hexadecimal and decimal values used inconsitentely.
-* Comparisons order are not consitent.
+* Hexadecimal and decimal values used inconsistently.
+* Comparisons order are not consistent.
* A lot of stuff is done in the different parts of the for loop.
### Compilation warnings
-with gcc 4.7.2 on Linux Ubuntu 12.10 :
-* prog.c:38:3: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
-* prog.c:40:34: warning: value computed is not used [-Wunused-value]
-* prog.c:56:6: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
-* prog.c:58:50: warning: value computed is not used [-Wunused-value]
-* prog.c:61:5: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses]
+With gcc 4.7.2 on Linux Ubuntu 12.10:
-with clang 3.1 on Linux Ubuntu 12.10 :
-* prog.c:38:49: warning: '&&' within '||' [-Wlogical-op-parentheses]
-* prog.c:38:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
-* prog.c:55:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
-* prog.c:56:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
+```
+morgan1.c:38:3: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
+morgan1.c:40:34: warning: value computed is not used [-Wunused-value]
+morgan1.c:56:6: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
+morgan1.c:58:50: warning: value computed is not used [-Wunused-value]
+morgan1.c:61:5: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses]
+```
-Due to most parentheses and braces removed when unecessary.
+With clang 3.1 on Linux Ubuntu 12.10 :
+
+```
+morgan1.c:38:49: warning: '&&' within '||' [-Wlogical-op-parentheses]
+morgan1.c:38:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
+morgan1.c:55:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
+morgan1.c:56:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
+```
+
+This is due to most of the parentheses and braces being removed when
+unnecessary.
To verify the display, you can look at one of this programs :
-* xephem : http://www.clearskyinstitute.com/xephem/
-* homeplanet : http://www.fourmilab.ch/homeplanet/
-* http://www.theplanetstoday.com/
+* xephem : https://web.archive.org/web/20130310133219/http://www.clearskyinstitute.com/xephem/
+* homeplanet : https://www.fourmilab.ch/homeplanet/
+* https://www.theplanetstoday.com
## Copyright and CC BY-SA 4.0 License:
diff --git a/2013/morgan2/Makefile b/2013/morgan2/Makefile
index cba809c28..bdd3f89f7 100644
--- a/2013/morgan2/Makefile
+++ b/2013/morgan2/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2013/morgan2/README.md b/2013/morgan2/README.md
index 442579b45..c85ae1219 100644
--- a/2013/morgan2/README.md
+++ b/2013/morgan2/README.md
@@ -1,7 +1,7 @@
# Most playfully versatile
- Yves-Marie Morgan
-
+Yves-Marie Morgan
+
## To build:
@@ -31,15 +31,16 @@ echo "Do or do not. There is no try."
## Judges' remarks:
-The judges enjoyed playing the game almost to completion; if we remember correctly,
-we managed to place 59 or 60 dominoes. We wonder, what would be faster: to play the game to completion
-or to write an unobfuscated version of it?
+The judges enjoyed playing the game almost to completion; if we remember
+correctly, we managed to place 59 or 60 dominoes. We wonder, what would be
+faster: to play the game to completion or to write an unobfuscated version of
+it?
## Author's remarks:
This program is a domino game. The goal is to place dominoes on the 8x8 grid.
-Each domino is made of 6 squares of the color red or green. To place a domino,
-at least one of it side shall match the other side of another domino.
+Each domino is made of 6 squares of the colour red or green. To place a domino,
+at least one of its side shall match the other side of another domino.
### How to play
@@ -47,14 +48,14 @@ at least one of it side shall match the other side of another domino.
At the start of the game, the first domino is placed randomly on the grid. You
get another domino to place by selecting one empty position in the stack on the
-right. You can have to 8 dominoes pending at any time.
+right. You can have up to 8 dominoes pending at any time.
### Moving in the stack
Use `Up` and `Down` key to move the cursor in the stack. Press `Enter` to either
-* reveal a new domino if the position was empty.
-* select the domino to try to place it if the position was not empty.
+* Reveal a new domino if the position was empty.
+* Select the domino to try to place it if the position was not empty.
The currently selected domino is indicated on the top right.
@@ -66,19 +67,20 @@ to place the domino.
To go back to selection mode, press `Enter` on an occupied position.
-The domino can be place in an empty position if all its neighbour have matching
+The domino can be placed in an empty position if all its neighbour have matching
sides and the domino has at least one neighbour.
### Scoring
First, depending on the number of dominoes pending in the stack, a bonus is
accorded :
+
* 1 domino in the stack : 8 points.
* 2 dominoes in the stack : 4 points.
* 3 or 4 dominoes in the stack : 2 points.
-* 5 or more dominoes in the stack : 0 point.
+* 5 or more dominoes in the stack : 0 points.
-Then the bonus is multiplied by the number of matching neighbor the placed domino
+Then the bonus is multiplied by the number of matching neighbours the placed domino
has (1, 2, 3 or 4). This is added to the score.
Finally, the total score is divided by the number of dominoes placed (1 - 64).
@@ -88,24 +90,25 @@ final score (total score divided by fill count).
### End of the game
-The game is finished when no more domino can be placed and you either :
-* filled the complete grid.
-* have 8 pending dominoes in the stack.
-* no more domino can be revealed in the stack (more than 56 dominoes placed on
+The game is finished when no more dominos can be placed and you either :
+
+* Completely filled the grid.
+* Have 8 pending dominoes in the stack.
+* No more domino can be revealed in the stack (more than 56 dominoes placed on
the grid).
-**Note** There is no real end of game detection implemented in the program,
+**Note**: There is no real end of game detection implemented in the program,
simply press `q` when you have finished...
### Strategy
-* Try to minimize the number of dominoes revealed in the stack. The lower the number,
-the higher the bonus.
-* Each domino is unique and all combination of colors exists, so keep track
- of what is already place and what is left.
-* Make sure you don't render dead some positions by preventing a future placement
- If the corner of domino does not match another corner in diagonal, the move
- is valid but will prevent some future moves.
+* Try to minimize the number of dominoes revealed in the stack. The lower the
+ number, the higher the bonus.
+* Each domino is unique and all combination of colours exists, so keep track
+ of what is already placed and what is left.
+* Make sure you don't render dead some positions by preventing a future
+ placement. If the corner of a domino does not match another corner diagonally,
+ the move is valid but will prevent some future moves.
### Limitations
@@ -118,15 +121,22 @@ the higher the bonus.
* 1 letter identifier, reused when possible.
* 1 algorithm, 2 different kind of display (ncurses and X11) mixed.
* No parameters to functions, all variables are global and shared.
-* Some variables are not initialized if they have a known value at the time of use.
+* Some variables are not initialized if they have a known value at the time of
+ use.
### Compilation warnings
-with gcc 4.7.2 on Linux Ubuntu 12.10 :
-* prog.c:46:65: warning: value computed is not used [-Wunused-value]
+With gcc 4.7.2 on Linux Ubuntu 12.10 :
-with clang 3.1 on Linux Ubuntu 12.10 :
-* prog.c:23:24: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
+```
+morgan2.c:46:65: warning: value computed is not used [-Wunused-value]
+```
+
+With clang 3.1 on Linux Ubuntu 12.10 :
+
+```
+morgan2.c:23:24: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
+```
**!!!!! HAVE FUN !!!!!**
diff --git a/2013/robison/Makefile b/2013/robison/Makefile
index aa223a04f..1d632acdc 100644
--- a/2013/robison/Makefile
+++ b/2013/robison/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2013/robison/README.md b/2013/robison/README.md
index baa014d70..fac60c3e4 100644
--- a/2013/robison/README.md
+++ b/2013/robison/README.md
@@ -1,7 +1,7 @@
# Most poetic use of strings
- Arch D. Robison
-
+Arch D. Robison
+
## To build:
@@ -24,17 +24,17 @@ echo '100000000000000000000*(20*(1+(99477941840441*50)))/31664812345028528' | ./
## Judges' remarks:
-Of integers this prog does a lot,
-plus minus, div times (and what not).
+Of integers this prog does a lot,
+plus minus, div times (and what not).
-And modulus if remainders the needing,
-on standard input percent be feeding.
+And modulus if remainders the needing,
+on standard input percent be feeding.
-More than one line can thru give input,
-when interactive one values more than throughput.
+More than one line can thru give input,
+when interactive one values more than throughput.
-With cut and paste and some time,
-one can compute M(23209).
+With cut and paste and some time,
+one can compute M(23209).
## Author's remarks:
@@ -64,7 +64,7 @@ So how to go back, to be Turing complete?
From standard dot H, to the rescue, q SORT!
My fixation might hint at a textual bent.
-Does my program compose a tatoo for your shin?
+Does my program compose a tattoo for your shin?
Play crosswords or translate from Urdu to Tzouby?
To give it a whirl, just punch 2 + 2 in.
@@ -73,8 +73,8 @@ Take unary minus and also subtract.
Summing hairs of a walrus? No longer a fuss.
Parenthetical grouping -- no pushing a stack!
-Try dividing a googol by one forty three,
-Subtract an octillion - it's simply divine.
+Try dividing a [googol](https://en.wikipedia.org/wiki/Googol) by one forty three,
+Subtract an [octillion](https://en.wikipedia.org/wiki/Names_of_large_numbers) - it's simply divine.
To compute a remainder, inscribe a percent.
For the sign of the answer, see C ninety nine!
@@ -93,14 +93,14 @@ Divide *babbage* (in base seventeen) by *cafe* --
a nice *fad*, but avoid a division by nix:
No errant result, but you could wait all day!
-To grok the internals, ask Queen Cleopatra,
-or King Tutankhamun; for him it's a romp.
+To grok the internals, ask [Queen Cleopatra](https://en.wikipedia.org/wiki/Cleopatra),
+or [King Tutankhamun](https://en.wikipedia.org/wiki/Tutankhamun); for him it's a romp.
Addition by cats, and if given two figures,
to tell which is bigger, sort down and string CMP!
Unlawful subtraction, a grade school infraction,
starts at the left and works to the right.
-Yet more innovation: like Henry Ford's cars,
+Yet more innovation: like [Henry Ford's cars](https://en.wikipedia.org/wiki/Ford_Motor_Company),
With a pound and define, mass production of vars!
The moral is clear, for programmers out there:
diff --git a/2014/birken/Makefile b/2014/birken/Makefile
index 88133327e..33bbc591c 100644
--- a/2014/birken/Makefile
+++ b/2014/birken/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2014/birken/README.md b/2014/birken/README.md
index 68c105baa..6ef761393 100644
--- a/2014/birken/README.md
+++ b/2014/birken/README.md
@@ -1,11 +1,12 @@
# Best use of port 1701
- Michael Birken
-
-
-
- Alexander Prishchepov
-
+Michael Birken
+
+
+
+Alexander Prishchepov
+
+
## To build:
@@ -24,11 +25,28 @@ make
## Try:
```sh
-./prog
+./prog < README.md
+```
+or maybe:
+
+```sh
+echo "IOCCC 2014!" | ./prog
+```
+
+Next, try in another terminal, as the above one is running:
+
+```sh
./prog http://127.0.0.1:1701
```
+What happens if you specify instead of a regular file something like
+`/dev/null` ?
+
+
+But there's more! Try opening in a browser the same address and then see what
+happens. This is explained by the authors when explaining their inspiration.
+
## Judges' remarks:
Port 1701? Well this is not the l2f registered TCP/1701 protocol.
@@ -42,11 +60,16 @@ binary content communicated between client and server.
So how does this program do it? A trek though the cloak of
obfuscation awaits the reader of the source!
-## Author's remarks:
+## Authors' remarks:
### Abstract
-When launched in web server mode, this application appears to deliver nothing more than a static HTML page. But, in actuality, it provides covert file transfer over the Internet. This is demonstrated by starting the application as a client-side downloader. The hidden transmitted data cannot be reconstructed or even detected from the binary content of the traffic between the client and the server.
+When launched in web server mode, this application appears to deliver nothing
+more than a static HTML page. But, in actuality, it provides covert file
+transfer over the Internet. This is demonstrated by starting the application as
+a client-side downloader. The hidden transmitted data cannot be reconstructed
+or even detected from the binary content of the traffic between the client and
+the server.
## To run web server
@@ -66,15 +89,18 @@ Try using the program's source code as the secret file:
./prog http://host[:port]
```
-The optional port defaults to 1701. If the web server instance is started on the same box, try:
+The optional port defaults to 1701. If the web server instance is started on
+the same box, try:
```sh
./prog http://127.0.0.1:1701
```
-It will incrementally display the contents of the hidden file at a rate of approximately 1 baud.
+It will incrementally display the contents of the hidden file at a rate of
+approximately 1 baud.
-The client-side downloader will automatically terminate if the web server is bounced.
+The client-side downloader will automatically terminate if the web server is
+bounced.
### HTML content
@@ -82,46 +108,95 @@ Plug the URL into a browser to view a static HTML page containing ASCII artwork.
### Exploration
-Studying the network traffic will reveal that the HTML content is static and immutable, the HTTP request and response fields do not contain anything remarkable, HTTP status and error codes are not exploited, no unusual or deprecated features of HTTP are used, and while the cookie is based on a timestamp, its value also remains unchanged throughout the session. As mentioned in the abstract, the data is not transmitted within the binary content communicated between the client and the server. A full explanation of the protocol appears below, but feel free to explore before reading further.
+Studying the network traffic will reveal that the HTML content is static and
+immutable, the HTTP request and response fields do not contain anything
+remarkable, HTTP status and error codes are not exploited, no unusual or
+deprecated features of HTTP are used, and while the cookie is based on a
+timestamp, its value also remains unchanged throughout the session. As
+mentioned in the abstract, the data is not transmitted within the binary content
+communicated between the client and the server. A full explanation of the
+protocol appears below, but feel free to explore before reading further.
### Inspiration
-The inspiration for this program comes from _Star Trek VI: The Undiscovered Country_, specifically the final confrontation between the _Enterprise_ and the enhanced prototype Klingon Bird of Prey. The definitive feature of the prototype was its ability to fire while cloaked. But, perhaps even more impressive was its able to keep an open communication channel with the _Enterprise_ throughout the battle, enabling the antagonist Chang to taunt Captain Kirk with Shakespearian quotes while he slowly pelted his ship with torpedoes. Normally, cloaked vessels must maintain silent running to avoid detection.
+The inspiration for this program comes from _Star Trek VI: The Undiscovered
+Country_, specifically the final confrontation between the _Enterprise_ and the
+enhanced prototype Klingon Bird of Prey. The definitive feature of the
+prototype was its ability to fire while cloaked. But, perhaps even more
+impressive was its ability to keep an open communication channel with the
+_Enterprise_ throughout the battle, enabling the antagonist Chang to taunt
+Captain Kirk with Shakespearian quotes while he slowly pelted his ship with
+torpedoes. Normally, cloaked vessels must maintain silent running to avoid
+detection.
-The battle is commemorated in the form of ASCII artwork depicting the ships faced head-to-head in the page delivered by the web server. Plus, the program source code is formatted in the shape of a Klingon Bird of Prey. The code itself includes a number of Star Trek references: the registry number of the _Enterprise_ (NCC-1701) is defined as a constant; variable names spell out Cpt. James T. Kirk and Odo (the Deep Space 9 character was played by René Auberjonois who also appeared as Colonel West in _Star Trek VI_); the STARDATE constant makes timing configurable; and, the constant k stands for Khan (in the final engagement in _Star Trek II: The Wrath of Khan_, the damaged _Enterprise_ managed to disable the USS _Reliant_’s shield generator by accessing its prefix code: 16309).
+The battle is commemorated in the form of ASCII artwork depicting the ships
+faced head-to-head in the page delivered by the web server. Plus, the program
+source code is formatted in the shape of a Klingon Bird of Prey. The code
+itself includes a number of Star Trek references: the registry number of the
+_Enterprise_ (NCC-1701) is defined as a constant; variable names spell out Cpt.
+James T. Kirk and Odo (the Deep Space 9 character was played by René Auberjonois
+who also appeared as Colonel West in _Star Trek VI_); the `STARDATE` constant
+makes timing configurable; and, the constant `k` stands for Khan (in the final
+engagement in _Star Trek II: The Wrath of Khan_, the damaged _Enterprise_
+managed to disable the USS _Reliant_’s shield generator by accessing its prefix
+code: 16309).
### Secondary size limit
-As obligated by a program that employs 23rd century cloaking technology, when the source is fed as input to IOCCC size tool version 2014-09-23-v19, and the -i command line option is used, the value printed is 0.
+As obligated by a program that employs 23rd century cloaking technology, when
+the source is fed as input to IOCCC size tool version 2014-09-23-v19, and the
+`-i` command line option is used, the value printed is 0.
### Transmission protocol revealed
-The client-side downloader relies on the response time of the web server rather than the binary content of the response. The server transmits 1 nibble at a time by counting to the nibble value via a sequence of rapid responses terminated by a long response. For instance, the value 5 would be transmitted by making a series of requests that result in 5 near instantaneous responses followed by a half-second delayed response. The long delay is skipped in the case of 15, the maximal nibble value. With the aid of an ASCII table, it is actually possible to read the nibbles by repeatedly pressing the refresh button within a browser and observing the page refresh delay.
+The client-side downloader relies on the response time of the web server rather
+than the binary content of the response. The server transmits 1 nibble at a
+time by counting to the nibble value via a sequence of rapid responses
+terminated by a long response. For instance, the value 5 would be transmitted
+by making a series of requests that result in 5 near instantaneous responses
+followed by a half-second delayed response. The long delay is skipped in the
+case of 15, the maximal nibble value. With the aid of an ASCII table, it is
+actually possible to read the nibbles by repeatedly pressing the refresh button
+within a browser and observing the page refresh delay.
-Nibble Count Coding (file transfer protocol NCC-1701) is faster than transmitting each individual bit as a short or long delay because it sends each byte with 2 long delays whereas communicating individual bits requires 8 long delays in the worst case scenario. In fact, Nibble Count Coding is faster than applying Huffman Coding since that is designed to produce compact codes under the assumption that the bit value does not affect transmission time.
+Nibble Count Coding (file transfer protocol NCC-1701) is faster than
+transmitting each individual bit as a short or long delay because it sends each
+byte with 2 long delays whereas communicating individual bits requires 8 long
+delays in the worst case scenario. In fact, Nibble Count Coding is faster than
+applying Huffman Coding since that is designed to produce compact codes under
+the assumption that the bit value does not affect transmission time.
-The server relies on the cookie to identify each client uniquely, enabling it to transfer the sequence independently to each client.
+The server relies on the cookie to identify each client uniquely, enabling it to
+transfer the sequence independently to each client.
### Configuration
-As with all network communication, accurate transmission of data relies on the nature of hardware revealed through statistics and timeouts set accordingly. The long delay is arbitrarily set to 0.5 seconds. This is microsecond tunable via the STARDATE constant defined at the top of the source code. Increase the value in the event of transmission errors. Decrease the value to download faster and less reliably.
+As with all network communication, accurate transmission of data relies on the
+nature of hardware revealed through statistics and timeouts set accordingly.
+The long delay is arbitrarily set to `0.5` seconds. This is microsecond tunable
+via the `STARDATE` constant defined at the top of the source code. Increase the
+value in the event of transmission errors. Decrease the value to download
+faster and less reliably.
The NCC constant is the web server port number.
### Obfuscations
* The ASCII artwork is compressed using run-length encoding.
-* One long string stores a series of strings concatenated together and referenced via pointers.
+* One long string stores a series of strings concatenated together and
+referenced via pointers.
* The long string is shift encrypted.
* Short and meaningless identifiers are used throughout.
* Reversed array indexing was applied immoderately.
* Minus is used in place of not-equals.
-* O and l were selected for their resemblance to 0 and 1 respectively.
-* Standard constants and ASCII characters were replaced with their respective numerical values.
+* `O` and `l` were selected for their resemblance to `0` and `1` respectively.
+* Standard constants and ASCII characters were replaced with their respective
+numerical values.
### Compiler warnings
-For space considerations, the following include statements were dropped resulting in compiler warnings:
+For space considerations, the following include statements were dropped
+resulting in compiler warnings:
```c
#include
diff --git a/2014/deak/.gitignore b/2014/deak/.gitignore
index a1e7bc695..160504d00 100644
--- a/2014/deak/.gitignore
+++ b/2014/deak/.gitignore
@@ -1,2 +1,3 @@
prog
+prog.alt
prog.orig
diff --git a/2014/deak/Makefile b/2014/deak/Makefile
index 46adce559..77a6fc0d2 100644
--- a/2014/deak/Makefile
+++ b/2014/deak/Makefile
@@ -113,8 +113,8 @@ OBJ= ${PROG}.o
DATA=
TARGET= ${PROG}
#
-ALT_OBJ=
-ALT_TARGET=
+ALT_OBJ= ${PROG}.alt.o
+ALT_TARGET= ${PROG}.alt
#################
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2014/deak/README.md b/2014/deak/README.md
index 36d7553ea..2e6f2993d 100644
--- a/2014/deak/README.md
+++ b/2014/deak/README.md
@@ -1,7 +1,7 @@
# Most underscored argument
- Ferenc Deak
-
+Ferenc Deak
+
## To build:
@@ -9,6 +9,9 @@
make
```
+There is an alternate version that the author provided but fixed in 2023 to
+compile. See [alternate code](#alternate-code) below.
+
## To run:
```sh
@@ -21,9 +24,25 @@ make
./prog
```
-Changing bounding box coordinates in the source to explore
+Try changing bounding box coordinates in the source to explore
various regions of the fractal.
+### Alternate code:
+
+The alternate code is included as [prog.alt.c](prog.alt.c) so you can more
+easily see the difference in what it might look like if the C was more
+recognisable. To use, try:
+
+```sh
+make alt
+```
+
+Use `prog.alt` as you would `prog`.
+
+Bonus: the author explains how to configure the program but can you figure out
+how to do it in the alternate code?
+
+
## Judges' remarks:
We consider this entry a tribute to all "Abuse of the C preprocessor"
@@ -52,25 +71,27 @@ The usage of recognizable elements from the C programming language in the
application source code is intentionally kept to a bare minimum. If this phrase
would not be true, the application would be the following:
- double _[]={-2
- ,1,-1.3 ,1.3, 0, 0,0,0
- ,0 ,0,50, 80, 0,0,0 ,255
- , 8,0}; int main (
- int j) {if (j== 1 ){ if(
- _[12] >_[10] )_[17]=1 ;} if
- (_[13] >_[11 ] ||_[17]==1) return
- ;_[6] = _ [13] / _[11]*(_[1]-_[ 0])
- +_[ 0]; _ [7]=_[12]/_[10]*(_[3]-_[2] )+_
- [2];_[8]=_[9]=_[14]=0;l2:_[4]=_[8] * _ [8]
- ;_[ 5]= _ [9]*_[9];_[9]=2*_[8]*_[9]+ _[7
- ];_[8 ] = _ [ 4 ]-_[5]+_[6];_[14 ]++
- ;if((_ [14]< _ [15])&&(_[4]+ _[ 5]
- <_[16 ])) goto l2; putchar(
- " #@*+ "[( int) _[14]%
- 5 ]);_ [13 ] ++ ; main (
- 0) ;_[12]++; _[13] =0
- ;if(_ [17] !=1) putchar
- (0xa); main(1);}
+```c
+double _[]={-2
+,1,-1.3 ,1.3, 0, 0,0,0
+,0 ,0,50, 80, 0,0,0 ,255
+, 8,0}; int main (
+ int j) {if (j== 1 ){ if(
+ _[12] >_[10] )_[17]=1 ;} if
+ (_[13] >_[11 ] ||_[17]==1) return 1
+ ;_[6] = _ [13] / _[11]*(_[1]-_[ 0])
++_[ 0]; _ [7]=_[12]/_[10]*(_[3]-_[2] )+_
+[2];_[8]=_[9]=_[14]=0;l2:_[4]=_[8] * _ [8]
+;_[ 5]= _ [9]*_[9];_[9]=2*_[8]*_[9]+ _[7
+ ];_[8 ] = _ [ 4 ]-_[5]+_[6];_[14 ]++
+ ;if((_ [14]< _ [15])&&(_[4]+ _[ 5]
+ <_[16 ])) goto l2; putchar(
+ " #@*+ "[( int) _[14]%
+5 ]);_ [13 ] ++ ; main (
+0) ;_[12]++; _[13] =0
+;if(_ [17] !=1) putchar
+(0xa); main(1);}
+```
The application expects no parameters, the only way you can change the behaviour
is to modify the source code at the indicated location: the line
@@ -81,7 +102,7 @@ fractal to be drawn on the screen.
### Compiler warnings
Yes, unfortunately there are compiler warnings of the kind "initialization makes
-integer from pointer without a cast" the provided Makefile automatically
+integer from pointer without a cast" but the provided Makefile automatically
disables them.
## Copyright and CC BY-SA 4.0 License:
diff --git a/2014/deak/prog.alt.c b/2014/deak/prog.alt.c
new file mode 100644
index 000000000..2e7692977
--- /dev/null
+++ b/2014/deak/prog.alt.c
@@ -0,0 +1,21 @@
+#include
+double _[]={-2
+,1,-1.3 ,1.3, 0, 0,0,0
+,0 ,0,50, 80, 0,0,0 ,255
+, 8,0}; int main (
+ int j) {if (j== 1 ){ if(
+ _[12] >_[10] )_[17]=1 ;} if
+ (_[13] >_[11 ] ||_[17]==1) return 1
+ ;_[6] = _ [13] / _[11]*(_[1]-_[ 0])
++_[ 0]; _ [7]=_[12]/_[10]*(_[3]-_[2] )+_
+[2];_[8]=_[9]=_[14]=0;l2:_[4]=_[8] * _ [8]
+;_[ 5]= _ [9]*_[9];_[9]=2*_[8]*_[9]+ _[7
+ ];_[8 ] = _ [ 4 ]-_[5]+_[6];_[14 ]++
+ ;if((_ [14]< _ [15])&&(_[4]+ _[ 5]
+ <_[16 ])) goto l2; putchar(
+ " #@*+ "[( int) _[14]%
+5 ]);_ [13 ] ++ ; main (
+0) ;_[12]++; _[13] =0
+;if(_ [17] !=1) putchar
+(0xa); main(1);}
+
diff --git a/2014/endoh1/.gitignore b/2014/endoh1/.gitignore
index 2d72bda99..fe71f8ded 100644
--- a/2014/endoh1/.gitignore
+++ b/2014/endoh1/.gitignore
@@ -4,3 +4,11 @@ prog
treacle
treacle.c
prog.orig
+m.c
+src/
+src.zip
+seq.txt
+alpha.txt
+ast.txt
+reg.txt
+raw.txt
diff --git a/2014/endoh1/Makefile b/2014/endoh1/Makefile
index 5c9de73b2..ef98edf25 100644
--- a/2014/endoh1/Makefile
+++ b/2014/endoh1/Makefile
@@ -139,6 +139,9 @@ main.c: prog
${RM} -f $@
./${PROG} > $@
+rake: Rakefile rake.sh
+ @./rake.sh
+
# alternative executable
#
alt: data ${ALT_TARGET}
@@ -200,7 +203,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2014/endoh1/README.md b/2014/endoh1/README.md
index ce1ce6971..75fffef06 100644
--- a/2014/endoh1/README.md
+++ b/2014/endoh1/README.md
@@ -1,8 +1,9 @@
# Most square (YODA award)
- Yusuke Endoh
-
-
+Yusuke Endoh
+
+
+Mastodon: [@mame@ruby.social](https://ruby.social/@mame)
## To build:
@@ -25,18 +26,43 @@ make main
./main Hello
```
+Also try:
+
+```sh
+make rake
+```
+
+which will run the [rake.sh](rake.sh) script and then `prog` if all is built
+okay. If `rake` is not installed then it will check that `gem` is installed. If
+`gem` is not installed it will tell you where to get it and then tell you how to
+install `rake`. Otherwise, if `rake` is installed it will try running `rake `
+and if that fails to run it will tell you to run a `gem` command as either root
+or via sudo and then to try running `make rake` or `./rake.sh` again. If `rake`
+succeeds it will run `./prog` which can be used to build `main.c`.
+
+What is the difference between running `./prog` and `main`?
+
+
## Judges' remarks:
Big terminals with tiny fonts have their uses in certain cases.
One of them is:
+```sh
+make treacl
+./treacl
+```
+
+which is shorthand for:
+
```sh
./prog < prog.c > treacle.c
make treacle
./treacle
```
-When using a smart phone to read the output, you may need to
+
+When using a smartphone to read the output, you may need to
step back to see the bigger picture because that picture is worth
more than 1000 words.
@@ -48,7 +74,7 @@ You may want to use a large display with a very small-font terminal.
### Spoiler
-Decompress `src.zip` if you need explanation.
+See [spoilers.md](spoilers.md).
## Copyright and CC BY-SA 4.0 License:
diff --git a/2014/endoh1/rake.sh b/2014/endoh1/rake.sh
new file mode 100755
index 000000000..0a599718d
--- /dev/null
+++ b/2014/endoh1/rake.sh
@@ -0,0 +1,44 @@
+#!/usr/bin/env bash
+
+if ! type -P rake >/dev/null 2>&1; then
+ echo "'rake' cannot be found." 1>&2
+ echo "'rake' must be installed to run make rake or $0." 1>&2
+ echo "" 1>&2
+ if ! type -P gem >/dev/null 2>&1; then
+ echo "" 1>&2
+ echo "'gem' cannot be found." 1>&2
+ echo "To install 'rake' you will need the 'gem' tool." 1>&2
+ echo "Please see the following GitHub repo for rubygems:" 1>&2
+ echo "" 1>&2
+ echo " https://github.com/rubygems/rubygems" 1>&2
+ echo "" 1>&2
+ echo "and then run:" 1>&2
+ echo "" 1>&2
+ echo " cd rubygems && exe/gem install rake" 1>&2
+ echo "" 1>&2
+ echo "and then try running make rake or running $0 again." 1>&2
+ else
+ echo "Please run the following command as root or via sudo:" 1>&2
+ echo ""
+ echo " gem install rake" 1>2
+ echo "" 1>&2
+ echo "and then try running make rake or running $0 again" 1>&2
+ fi
+ exit 1
+elif ! rake 2>&1; then
+ echo "" 1>&2
+ echo "It appears that using rake failed. Please try running the following" 1>&2
+ echo "command as root or via sudo: " 1>&2
+ echo "" 1>&2
+ echo " gem install ruby-minisat" 1>&2;
+ echo "" 1>&2
+ echo "and then try running make rake or $0 again" 1>&2
+ exit 1
+elif [[ ! -x prog ]]; then
+ echo "" 1>&2
+ echo "could not compile prog" 1>&2
+ exit 1
+else
+ ./prog 1>&2
+ exit "$?"
+fi
diff --git a/2014/endoh1/read_me.md b/2014/endoh1/read_me.md
deleted file mode 100644
index 4a9858257..000000000
--- a/2014/endoh1/read_me.md
+++ /dev/null
@@ -1,149 +0,0 @@
-# Q(uine)R code generator
-
-## What is difficult?
-
-As you may know, QR code (specification: ISO/IEC 18004) is quite complex.
-It requires a bit stream, Reed-Solomon codes, BCH codes,
-data relocation, big (and irregular!) numerical tables,
-human-oriented pattern arrangement (difficult to implement by a small program),
-etc.
-
-On the other hand, a quine has a big restriction:
-it needs to have two copies of the program!
-
-Do you think that it is possible to write QR code encoder in C within *1kB*?
-
-
-## How did I achieve that?
-
-It is known that we can mitigate the quine restriction by `eval`.
-For example, this is a quine written in Ruby:
-
- eval s="print 'eval s='; p s"
-
-Note that `print` appears just once in the program.
-
-To emulate this approach in C, I adopted the following structure.
-
- char s[]="int main() { }";
- int main() { ; }
-
-* `` : An own VM implementation (written in C) that executes the main code
-* `` : An object code of quine and QR code encoder (written in the assembly language of the VM)
-
-`` (about 1100 bytes) appears once
-and `` (about 450 bytes) appears twice.
-So the whole code is about 1100 + 450 * 2 = 2000 bytes. Hooray!
-
-
-## What sort of VM is that?
-
-The VM is a kind of stack machine which makes the object code compact.
-The instruction set is carefully selected
-to minimize the sizes of both `` and ``.
-
-* 21 integer registers access
- * read, write, inc-and-read, dec-and-read
-* Binary operations
- * add, sub, mul, div, mod, xor, less than, equal, rshift
-* Stack operation
- * push (an immediate value)
-* Heap access
- * load, store
-* If-Then-Else
-* While-Loop
-* Misc.
- * putchar, exit
-
-The instructions have variable length,
-but many of them are represented as one printable character.
-(See `machine.rb` and `assemble.rb` in detail.)
-The mapping between instructions and characters is also carefully designed
-to minimize ``,
-which makes the resulted program non-human-readable.
-
-
-## How did I create the main code?
-
-It is too tedious to write the machine language directly.
-So I wrote the source code in Ruby syntax and created a Ruby-to-VM compiler
-that involves alpha renaming and automatic register allocation
-only for this purpose.
-
-* `src.rb`: the source code of QR code encoder written in Ruby syntax.
-* `vm.c`: the source code of the VM.
-
-The compiler tool chain is the following.
-
- src.rb interp.c
- | |
- | [parse.rb] |
- V |
- ast.txt |
- | |
- | [serialize.rb] |
- V |
- seq.txt |
- | |
- | [alpha.rb] |
- V |
- alpha.txt |
- | |
- | [register.rb] |
- V |
- reg.txt |
- | |
- | [assemble.rb] |
- V |
- raw.txt |
- | |
- +---------+---------+
- |
- | [link.rb]
- V
- main.c
- |
- | [gen-prog.c]
- V
- prog.c
-
-* `parse.rb` converts Ruby to AST.
-* `serialize.rb` converts AST to intermediate instruction sequence.
-* `alpha.rb` applies "alpha-renaming" to the instruction sequence.
-* `register.rb` applies "register allocation".
-* `assemble.rb` converts the sequence to the final stack-machine instructions.
-* `interp.c` is an implementation of the VM.
-* `link.rb` generates `main.c` by linking the instructions and interpreter source.
-* `gen-prog.c` generates `prog.c` based on `main.c`
-
-You can run the process by `rake` command. `ruby-minisat` gem is needed.
-
- $ gem install ruby-minisat
- $ rake
-
-## Tools
-
-I checked that the following QR code readers can read the output of my program.
-
- * Linux: [ZBar bar code reader][1]
- * Android: [Barcode Scanner][2]
-
-[1]: http://zbar.sourceforge.net/
-[2]: https://play.google.com/store/apps/details?id=com.google.zxing.client.android]
-
-You can use `tool.rb` to convert the output to a png file.
-
- $ ./main Hello | ruby tool.rb > hello.png
-
- $ zbarimg -q hello.png
- QR-Code:Hello
-
- $ ruby tool.rb prog.c
- $ ruby tool.rb prog.c | ruby tool.rb
-
-## Limitations
-
-* QR code error correction level is fixed to L (Low).
-* It supports only byte mode (not numeric, alphanumeric, kanji mode...)
-* The mask pattern is fixed to 4.
-* The mask is not applied to the remained bits.
diff --git a/2014/endoh1/spoilers.md b/2014/endoh1/spoilers.md
new file mode 100644
index 000000000..87bab360f
--- /dev/null
+++ b/2014/endoh1/spoilers.md
@@ -0,0 +1,155 @@
+# Q(uine)R code generator
+
+## What is difficult?
+
+As you may know, QR code (specification: ISO/IEC 18004) is quite complex. It
+requires a bit stream, Reed-Solomon codes, BCH codes, data relocation, big (and
+irregular!) numerical tables, human-oriented pattern arrangement (difficult to
+implement by a small program), etc.
+
+On the other hand, a quine has a big restriction:
+it needs to have two copies of the program!
+
+Do you think that it is possible to write QR code encoder in C within *1kB*?
+
+
+## How did I achieve that?
+
+It is known that we can mitigate the quine restriction by `eval`.
+For example, this is a quine written in Ruby:
+
+ eval s="print 'eval s='; p s"
+
+Note that `print` appears just once in the program.
+
+To emulate this approach in C, I adopted the following structure.
+
+```
+char s[]="int main() { }";
+int main() { ; }
+```
+
+* `` : An own VM implementation (written in C) that executes the main code
+* `` : An object code of quine and QR code encoder (written in the assembly language of the VM)
+
+`` (about 1100 bytes) appears once and `` (about 450 bytes)
+appears twice. So the whole code is about 1100 + 450 * 2 = 2000 bytes. Hooray!
+
+
+## What sort of VM is that?
+
+The VM is a kind of stack machine which makes the object code compact. The
+instruction set is carefully selected to minimize the sizes of both `` and ``.
+
+* 21 integer registers access
+ * read, write, inc-and-read, dec-and-read
+* Binary operations
+ * add, sub, mul, div, mod, xor, less than, equal, rshift
+* Stack operation
+ * push (an immediate value)
+* Heap access
+ * load, store
+* If-Then-Else
+* While-Loop
+* Misc.
+ * putchar, exit
+
+The instructions have variable length, but many of them are represented as one
+printable character. (See `machine.rb` and `assemble.rb` in detail.) The
+mapping between instructions and characters is also carefully designed to
+minimize ``, which makes the resulted program non-human-readable.
+
+
+## How did I create the main code?
+
+It is too tedious to write the machine language directly. So I wrote the source
+code in Ruby syntax and created a Ruby-to-VM compiler that involves alpha
+renaming and automatic register allocation only for this purpose.
+
+* [src.rb](src.rb): the source code of QR code encoder written in Ruby syntax.
+* [vm.c](vm.c): the source code of the VM.
+
+The compiler tool chain is the following.
+
+```
+src.rb interp.c
+ | |
+ | [parse.rb] |
+ V |
+ast.txt |
+ | |
+ | [serialize.rb] |
+ V |
+seq.txt |
+ | |
+ | [alpha.rb] |
+ V |
+alpha.txt |
+ | |
+ | [register.rb] |
+ V |
+reg.txt |
+ | |
+ | [assemble.rb] |
+ V |
+raw.txt |
+ | |
+ +---------+---------+
+ |
+ | [link.rb]
+ V
+ main.c
+ |
+ | [gen-prog.c]
+ V
+ prog.c
+```
+
+* [parse.rb](parse.rb) converts Ruby to AST.
+* [serialize.rb](serialize.rb) converts AST to intermediate instruction sequence.
+* [alpha.rb](alpha.rb) applies "alpha-renaming" to the instruction sequence.
+* [register.rb](register.rb) applies "register allocation".
+* [assemble.rb](assemble.rb) converts the sequence to the final stack-machine instructions.
+* [interp.c](interp.c) is an implementation of the VM.
+* [link.rb](link.rb) generates `main.c` by linking the instructions and interpreter source.
+* [gen-prog.c](gen-prog.c) generates [prog.c](prog.c) based on `main.c`.
+
+You can run the process by `rake` command. `ruby-minisat` gem is needed.
+
+```sh
+$ gem install ruby-minisat
+$ rake
+```
+
+## Tools
+
+I checked that the following QR code readers can read the output of my program.
+
+* Linux: [ZBar bar code reader][1]
+
+### 2023 note from the judges:
+
+The author also tested an Android app called Barcode Scanner] which used to be
+found at
+`https://play.google.com/store/apps/details?id=com.google.zxing.client.android`
+but it appears to no longer exist.
+
+[1]: http://zbar.sourceforge.net/
+
+You can use `tool.rb` to convert the output to a png file.
+
+ $ ./main Hello | ruby tool.rb > hello.png
+
+ $ zbarimg -q hello.png
+ QR-Code:Hello
+
+ $ ruby tool.rb prog.c
+ $ ruby tool.rb prog.c | ruby tool.rb
+
+## Limitations
+
+* QR code error correction level is fixed to L (Low).
+* It supports only byte mode (not numeric, alphanumeric, kanji mode...)
+* The mask pattern is fixed to 4.
+* The mask is not applied to the remained bits.
diff --git a/2014/endoh2/Makefile b/2014/endoh2/Makefile
index 6276628d4..f23d84b87 100644
--- a/2014/endoh2/Makefile
+++ b/2014/endoh2/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2014/endoh2/README.md b/2014/endoh2/README.md
index 2981b1b28..a717641dd 100644
--- a/2014/endoh2/README.md
+++ b/2014/endoh2/README.md
@@ -1,8 +1,9 @@
# Best use of bioinformatics
- Yusuke Endoh
-
-
+Yusuke Endoh
+
+
+Mastodon: [@mame@ruby.social](https://ruby.social/@mame)
## To build:
diff --git a/2014/maffiodo1/Makefile b/2014/maffiodo1/Makefile
index ea40f3b9d..e0965d4cc 100644
--- a/2014/maffiodo1/Makefile
+++ b/2014/maffiodo1/Makefile
@@ -190,7 +190,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2014/maffiodo2/Makefile b/2014/maffiodo2/Makefile
index 4248e1898..c5cf3fbf0 100644
--- a/2014/maffiodo2/Makefile
+++ b/2014/maffiodo2/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2014/morgan/Makefile b/2014/morgan/Makefile
index cb06cdae4..08f5e2ed2 100644
--- a/2014/morgan/Makefile
+++ b/2014/morgan/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2014/sinon/Makefile b/2014/sinon/Makefile
index d7c2015f1..83e7279c5 100644
--- a/2014/sinon/Makefile
+++ b/2014/sinon/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2014/skeggs/Makefile b/2014/skeggs/Makefile
index 0a02edd58..4fe632bc3 100644
--- a/2014/skeggs/Makefile
+++ b/2014/skeggs/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2014/vik/.gitignore b/2014/vik/.gitignore
index e36a12dc8..02a114255 100644
--- a/2014/vik/.gitignore
+++ b/2014/vik/.gitignore
@@ -1,4 +1,5 @@
audio_file.raw
prog
+prog.alt
prog.raw
prog.orig
diff --git a/2014/vik/Makefile b/2014/vik/Makefile
index 4f42954a7..f3d0cc6ef 100644
--- a/2014/vik/Makefile
+++ b/2014/vik/Makefile
@@ -112,8 +112,8 @@ OBJ= ${PROG}.o
DATA=
TARGET= ${PROG}
#
-ALT_OBJ=
-ALT_TARGET=
+ALT_OBJ= ${PROG}.alt.o
+ALT_TARGET= ${PROG}.alt
#################
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2014/vik/README.md b/2014/vik/README.md
index f46b04a30..f43c7f470 100644
--- a/2014/vik/README.md
+++ b/2014/vik/README.md
@@ -13,13 +13,15 @@ US
make
```
-
## To run:
```sh
./prog > foo.c
```
+There is an alternate version that will theoretically work with Windows
+compilers (if anything in Windows works :-) ). See the [Alternate
+code](#alternate-code) section below.
## Try:
@@ -29,6 +31,18 @@ echo 'Want to hear me beep?' | ./prog > audio_file.raw
echo 'No. I want chocolate!' | ./prog | mplayer -demuxer rawaudio -
```
+### Alternate code:
+
+The alternate code, [prog.alt.c](prog.alt.c), is based on the author's
+instructions on how to get it to work with Windows. This has not been tested but
+in order to use it you can do:
+
+```sh
+make alt
+```
+
+Use `prog.alt` as you would `prog` above as well as below.
+
## Judges' remarks:
@@ -59,7 +73,7 @@ I can tell, there are at least six chocolate references in this program.
This program can convert text to Morse to a raw 44.1kHz stereo audio file.
Via streaming to mplayer, you can listen to the Morse audio.
-Don't forget the last '-' as it makes mplayer read from stdin.
+Don't forget the last '`-`' as it makes mplayer read from stdin.
## Convert audio file with Morse signals to text
@@ -86,6 +100,8 @@ declaration in order for the program to run correctly:
_setmode(_fileno(stdout), 0x8000);
```
+NOTE: see the [alternate code](prog.alt.c) for this.
+
### Known Issues
The program uses a quite simple algorithm for detecting tone on and off events
diff --git a/2014/vik/prog.alt.c b/2014/vik/prog.alt.c
new file mode 100644
index 000000000..9472cccf1
--- /dev/null
+++ b/2014/vik/prog.alt.c
@@ -0,0 +1,31 @@
+#include
+#include
+#include
+
+char X[] =
+ " ETIANMSURWDKGOHVF:L:PJBXCYZQ::54:3:::2&:+::::16=/:::(:7:::8:90"
+ "::::::::::::?_::::\"::.::::@:::'::-::::::::;!:):::::,:::::";
+
+int j,w,h,f,u,d,g,e,n,i,l,a,r,p,c,m,o,t,s,Q=32,T[32],W[32],I=13000;
+
+int main(int v, char** b) {
+
+ _setmode(_fileno(stdout), 0x8000);
+ for (i=0;v>0&&v<5&&(v*=t=fread(X,1,1,stdin));)
+
+ for (v-1&&101==*1[b]?++g%1500?u+=(g&1^1)*(*X<0?-*X:*X):(f=e,e=w,w=d,d=u,
+ m=(1 - h%2* 2 )*(d -f)/ (d 5?T[ h%Q] =o+l , l=W[
+ h++%Q]=o,o=0:m,o++,u=main(0,b)):(c=strrchr(X,~(Q&*X&*X/2)&*X)-X,j=255);
+ v==1&&(c*j||main(*X-Q?8:24,b));j/=2)c7&&j<13?s=c*s+T[i/Q]/2,s/=++c:0)
+ !(i++%Q)?a=c>a?u=s,c:a,c=s=0:0,j=T[i%Q],j=j?T[i/Q]*10/j:0,j*=(j<5)*2+1;
+
+ for (r+=(h-r)/Q*Q;i5&&!v;r+t!=h+1?(W[r%Q]>2*u||r==h?p=n=n>6?0:
+ putchar(X[p-1+(1<6*u?putchar(Q):0):0)
+ *X=Q,p=r%2?++n,2*p+(W[r++%Q]>2*u):p;
+
+ return 0;
+}
diff --git a/2014/wiedijk/Makefile b/2014/wiedijk/Makefile
index 5ddb9658b..445975411 100644
--- a/2014/wiedijk/Makefile
+++ b/2014/wiedijk/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2015/burton/Makefile b/2015/burton/Makefile
index 19c74755f..bde0ebefb 100644
--- a/2015/burton/Makefile
+++ b/2015/burton/Makefile
@@ -189,7 +189,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2015/dogon/Makefile b/2015/dogon/Makefile
index 63bb1d0ca..f5f0100e4 100644
--- a/2015/dogon/Makefile
+++ b/2015/dogon/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2015/duble/Makefile b/2015/duble/Makefile
index 062688827..3d53372ce 100644
--- a/2015/duble/Makefile
+++ b/2015/duble/Makefile
@@ -190,7 +190,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2015/endoh1/Makefile b/2015/endoh1/Makefile
index 439da4982..b4c21d28c 100644
--- a/2015/endoh1/Makefile
+++ b/2015/endoh1/Makefile
@@ -245,7 +245,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2015/endoh2/Makefile b/2015/endoh2/Makefile
index c8179f813..fe4193724 100644
--- a/2015/endoh2/Makefile
+++ b/2015/endoh2/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2015/endoh3/Makefile b/2015/endoh3/Makefile
index 956f754f1..87f5e2ffb 100644
--- a/2015/endoh3/Makefile
+++ b/2015/endoh3/Makefile
@@ -190,7 +190,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2015/endoh4/Makefile b/2015/endoh4/Makefile
index 59ecd5e19..907c54165 100644
--- a/2015/endoh4/Makefile
+++ b/2015/endoh4/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2015/hou/Makefile b/2015/hou/Makefile
index 7ee1e71c8..efb22ad47 100644
--- a/2015/hou/Makefile
+++ b/2015/hou/Makefile
@@ -191,7 +191,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2015/howe/Makefile b/2015/howe/Makefile
index 255a60d1e..1b0048807 100644
--- a/2015/howe/Makefile
+++ b/2015/howe/Makefile
@@ -194,7 +194,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2015/mills1/Makefile b/2015/mills1/Makefile
index dc5aa14b8..a92d71fd6 100644
--- a/2015/mills1/Makefile
+++ b/2015/mills1/Makefile
@@ -345,7 +345,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2015/mills2/Makefile b/2015/mills2/Makefile
index 14b680de4..f8b570e1d 100644
--- a/2015/mills2/Makefile
+++ b/2015/mills2/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2015/muth/Makefile b/2015/muth/Makefile
index 587248567..3318c46d4 100644
--- a/2015/muth/Makefile
+++ b/2015/muth/Makefile
@@ -200,7 +200,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2015/schweikhardt/Makefile b/2015/schweikhardt/Makefile
index a4db4601a..4fec100fe 100644
--- a/2015/schweikhardt/Makefile
+++ b/2015/schweikhardt/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2015/yang/Makefile b/2015/yang/Makefile
index 1c612c3aa..a92dce832 100644
--- a/2015/yang/Makefile
+++ b/2015/yang/Makefile
@@ -211,7 +211,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2018/algmyr/Makefile b/2018/algmyr/Makefile
index 8d44a0f7a..2757b44b9 100644
--- a/2018/algmyr/Makefile
+++ b/2018/algmyr/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2018/anderson/Makefile b/2018/anderson/Makefile
index 9762c504c..7ececcf16 100644
--- a/2018/anderson/Makefile
+++ b/2018/anderson/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2018/bellard/Makefile b/2018/bellard/Makefile
index c65663a26..d3728dacd 100644
--- a/2018/bellard/Makefile
+++ b/2018/bellard/Makefile
@@ -186,7 +186,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2018/burton1/Makefile b/2018/burton1/Makefile
index c1374a81d..c2b43bfb4 100644
--- a/2018/burton1/Makefile
+++ b/2018/burton1/Makefile
@@ -187,7 +187,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2018/burton2/Makefile b/2018/burton2/Makefile
index e1cd793a1..27b323c24 100644
--- a/2018/burton2/Makefile
+++ b/2018/burton2/Makefile
@@ -220,7 +220,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2018/ciura/Makefile b/2018/ciura/Makefile
index bda3ef874..4168ab777 100644
--- a/2018/ciura/Makefile
+++ b/2018/ciura/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2018/endoh1/Makefile b/2018/endoh1/Makefile
index c6eadc033..6bcddb940 100644
--- a/2018/endoh1/Makefile
+++ b/2018/endoh1/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2018/endoh2/Makefile b/2018/endoh2/Makefile
index 71625b81f..4d9cb0f97 100644
--- a/2018/endoh2/Makefile
+++ b/2018/endoh2/Makefile
@@ -207,7 +207,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2018/ferguson/Makefile b/2018/ferguson/Makefile
index 8c5815d5a..e8ffbfb1e 100644
--- a/2018/ferguson/Makefile
+++ b/2018/ferguson/Makefile
@@ -194,7 +194,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2018/giles/Makefile b/2018/giles/Makefile
index d5bfbc448..81e6bc226 100644
--- a/2018/giles/Makefile
+++ b/2018/giles/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2018/hou/Makefile b/2018/hou/Makefile
index 94ac80fc8..33136ae3d 100644
--- a/2018/hou/Makefile
+++ b/2018/hou/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2018/mills/Makefile b/2018/mills/Makefile
index 2bf545ea1..379fad002 100644
--- a/2018/mills/Makefile
+++ b/2018/mills/Makefile
@@ -242,7 +242,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2018/poikola/Makefile b/2018/poikola/Makefile
index 9a1bcf99b..c85d65185 100644
--- a/2018/poikola/Makefile
+++ b/2018/poikola/Makefile
@@ -190,7 +190,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2018/vokes/Makefile b/2018/vokes/Makefile
index 6c5103443..960f5cd43 100644
--- a/2018/vokes/Makefile
+++ b/2018/vokes/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2018/yang/Makefile b/2018/yang/Makefile
index 556e5232a..0a3b52b3e 100644
--- a/2018/yang/Makefile
+++ b/2018/yang/Makefile
@@ -304,7 +304,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2019/adamovsky/Makefile b/2019/adamovsky/Makefile
index 248022664..c4e8d04ce 100644
--- a/2019/adamovsky/Makefile
+++ b/2019/adamovsky/Makefile
@@ -202,7 +202,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2019/burton/Makefile b/2019/burton/Makefile
index 40c93d243..c6a9353c6 100644
--- a/2019/burton/Makefile
+++ b/2019/burton/Makefile
@@ -197,7 +197,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2019/ciura/Makefile b/2019/ciura/Makefile
index 131fa7809..e92dc004a 100644
--- a/2019/ciura/Makefile
+++ b/2019/ciura/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2019/diels-grabsch1/Makefile b/2019/diels-grabsch1/Makefile
index 4332cccce..2910bd843 100644
--- a/2019/diels-grabsch1/Makefile
+++ b/2019/diels-grabsch1/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2019/diels-grabsch2/Makefile b/2019/diels-grabsch2/Makefile
index e2a63c8e0..afb61fdfc 100644
--- a/2019/diels-grabsch2/Makefile
+++ b/2019/diels-grabsch2/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2019/dogon/Makefile b/2019/dogon/Makefile
index a77ccfd46..9ec718c90 100644
--- a/2019/dogon/Makefile
+++ b/2019/dogon/Makefile
@@ -194,7 +194,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2019/duble/Makefile b/2019/duble/Makefile
index 24a75acef..cacb48ce7 100644
--- a/2019/duble/Makefile
+++ b/2019/duble/Makefile
@@ -266,7 +266,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2019/endoh/Makefile b/2019/endoh/Makefile
index 6ccc5ff9a..b27530b77 100644
--- a/2019/endoh/Makefile
+++ b/2019/endoh/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2019/giles/Makefile b/2019/giles/Makefile
index 993e11be1..61368a54f 100644
--- a/2019/giles/Makefile
+++ b/2019/giles/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2019/karns/Makefile b/2019/karns/Makefile
index 90f21931a..a35111935 100644
--- a/2019/karns/Makefile
+++ b/2019/karns/Makefile
@@ -197,7 +197,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2019/lynn/Makefile b/2019/lynn/Makefile
index fd58dc913..d1c4abae6 100644
--- a/2019/lynn/Makefile
+++ b/2019/lynn/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2019/mills/Makefile b/2019/mills/Makefile
index 1bcb03f2f..fe1bcb9a2 100644
--- a/2019/mills/Makefile
+++ b/2019/mills/Makefile
@@ -370,7 +370,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2019/poikola/Makefile b/2019/poikola/Makefile
index e03a0a645..6dfe23e64 100644
--- a/2019/poikola/Makefile
+++ b/2019/poikola/Makefile
@@ -189,7 +189,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2019/yang/Makefile b/2019/yang/Makefile
index 3b07f103c..58daa5d99 100644
--- a/2019/yang/Makefile
+++ b/2019/yang/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2020/burton/Makefile b/2020/burton/Makefile
index 883373944..d617a750e 100644
--- a/2020/burton/Makefile
+++ b/2020/burton/Makefile
@@ -207,7 +207,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2020/carlini/Makefile b/2020/carlini/Makefile
index 7c8145c24..8d7d2e9d8 100644
--- a/2020/carlini/Makefile
+++ b/2020/carlini/Makefile
@@ -182,7 +182,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2020/endoh1/Makefile b/2020/endoh1/Makefile
index 2812b9b06..d83ba3d87 100644
--- a/2020/endoh1/Makefile
+++ b/2020/endoh1/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2020/endoh2/Makefile b/2020/endoh2/Makefile
index 70fa4bfa9..8fca6e361 100644
--- a/2020/endoh2/Makefile
+++ b/2020/endoh2/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2020/endoh3/Makefile b/2020/endoh3/Makefile
index 6c6dea61c..dd56011ec 100644
--- a/2020/endoh3/Makefile
+++ b/2020/endoh3/Makefile
@@ -193,7 +193,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2020/ferguson1/Makefile b/2020/ferguson1/Makefile
index 52ea59fd8..8fa2f638c 100644
--- a/2020/ferguson1/Makefile
+++ b/2020/ferguson1/Makefile
@@ -216,7 +216,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2020/ferguson2/Makefile b/2020/ferguson2/Makefile
index b00b60e06..a9e7925ab 100644
--- a/2020/ferguson2/Makefile
+++ b/2020/ferguson2/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2020/giles/Makefile b/2020/giles/Makefile
index 8868eaca4..38b042b8b 100644
--- a/2020/giles/Makefile
+++ b/2020/giles/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2020/kurdyukov1/Makefile b/2020/kurdyukov1/Makefile
index 3980c67d2..9858285fa 100644
--- a/2020/kurdyukov1/Makefile
+++ b/2020/kurdyukov1/Makefile
@@ -185,7 +185,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2020/kurdyukov2/Makefile b/2020/kurdyukov2/Makefile
index df19455ec..0b6531b41 100644
--- a/2020/kurdyukov2/Makefile
+++ b/2020/kurdyukov2/Makefile
@@ -192,7 +192,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2020/kurdyukov3/Makefile b/2020/kurdyukov3/Makefile
index d3a07a465..ea24c012e 100644
--- a/2020/kurdyukov3/Makefile
+++ b/2020/kurdyukov3/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2020/kurdyukov4/Makefile b/2020/kurdyukov4/Makefile
index 418996437..df5822f4c 100644
--- a/2020/kurdyukov4/Makefile
+++ b/2020/kurdyukov4/Makefile
@@ -188,7 +188,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2020/otterness/Makefile b/2020/otterness/Makefile
index a11fbc5af..cc2728038 100644
--- a/2020/otterness/Makefile
+++ b/2020/otterness/Makefile
@@ -183,7 +183,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2020/tsoj/Makefile b/2020/tsoj/Makefile
index 779c61736..2c27e1b2c 100644
--- a/2020/tsoj/Makefile
+++ b/2020/tsoj/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/2020/yang/Makefile b/2020/yang/Makefile
index 230436321..a81be0d00 100644
--- a/2020/yang/Makefile
+++ b/2020/yang/Makefile
@@ -184,7 +184,7 @@ indent.c: ${PROG}.c
echo "${INDENT} < $< > $@"; \
${INDENT} < $< > $@; \
else \
- echo "no intent tool found, ident $< yourself, sorry"; \
+ echo "no indent tool found, ident $< yourself, sorry"; \
echo "exit 17"; \
exit 17; \
fi
diff --git a/author/Alexander_Prishchepov.json b/author/Alexander_Prishchepov.json
index d07f387d9..a75f2fc47 100644
--- a/author/Alexander_Prishchepov.json
+++ b/author/Alexander_Prishchepov.json
@@ -6,7 +6,7 @@
"sort_word" : "prishchepov",
"location_code" : "US",
"location_name" : "United States of America",
- "email" : "student.00x@gmail.com",
+ "email" : "alepov-github@yahoo.com",
"url" : "https://github.com/sans17/",
"alt_url" : null,
"deprecated_twitter_handle" : null,
diff --git a/bugs.md b/bugs.md
index bc262de94..94f423104 100644
--- a/bugs.md
+++ b/bugs.md
@@ -1865,7 +1865,7 @@ Do you have it? Please provide it!
## [2013/dlowe](2013/dlowe/dlowe.c) ([README.md](2013/dlowe/README.md))
## STATUS: INABIAF - please **DO NOT** fix
-This program will very likely crash or draw something strange with 0 args. Then
+This program will possibly crash or draw something strange with 0 args. Then
again it might not. :-) This is easy to fix but would add bytes and since the
author noted it is a feature and not a bug. You of course can try and fix it
yourself but please do NOT open a pull request for this: just do it as an
@@ -1889,7 +1889,7 @@ Hou :-) ) yourself. This should not be fixed.
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) discovered a bug that
shows itself in some cases (it works in others) when working on his winning
-[2020 Enigma machine](2020/ferguson2/prog.c) ('Most enigmatic) entry. See his
+[2020 Enigma machine](2020/ferguson2/prog.c) ('Most enigmatic') entry. See his
[README.md](2020/ferguson2/README.md) for details (search for `vik` in the
file).
diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md
index 2c3483110..fafd7f2b4 100644
--- a/thanks-for-fixes.md
+++ b/thanks-for-fixes.md
@@ -5,8 +5,9 @@
## Thank you honor roll
-There are several people who have contributed to the above mentioned
-several thousand changes and important improvements.
+There are a number of people who have contributed to several thousand changes,
+fixes and important improvements and one who has literally (or numerically :-) )
+contributed thousands, that we wish to thank.
We call out the extensive contributions of [Cody Boone
Ferguson](https://www.ioccc.org/winners.html#Cody_Boone_Ferguson) who is
@@ -17,13 +18,13 @@ bug fixes** such as [2001/anonymous](2001/anonymous/README.md) and
compile with clang, fixing entries to work with macOS (some of which are **very
complicated** such as [1998/schweikh1](1998/schweikh1/README.md)), fixing code
to work with both 32-bit and 64-bit (such as
-[2001/herrmann2](2001/herrmann2/README.md)) which can be **quite complicated**
-(though not always even if it seems it), providing alternate code where useful
-or necessary, fixing where possible dead links and otherwise removing them, typo
-and consistency fixes, improving **ALL _Makefiles_** and writing the [sgit
-tool](https://github.com/xexyl/sgit) that we installed locally and have used to
-easily run `sed` on files in the repository to help build the website. Thank
-you **very much** for your extensive efforts in helping improve the IOCCC
+[2001/herrmann2](2001/herrmann2/README.md)) which *can be* **quite complicated
+too** (though not always even if it seems it), providing alternate code where
+useful or necessary, fixing where possible dead links and otherwise removing
+them, typo and consistency fixes, improving **ALL _Makefiles_** and writing the
+[sgit tool](https://github.com/xexyl/sgit) that we installed locally and have
+used to easily run `sed` on files in the repository to help build the website.
+Thank you **very much** for your extensive efforts in helping improve the IOCCC
presentation of past IOCCC winners and making many many past entries work with
modern systems!
@@ -94,13 +95,25 @@ Scovell](https://web.archive.org/web/20070120220721/https://thomasscovell.com/ta
## [1984/decot](1984/decot/decot.c) ([README.md](1984/decot/README.md]))
-Cody fixed this to not require `-traditional-cpp` which not all compilers
-support (clang does not support it for example). Clang is also more strict about
-the args' types in `main()` and this was also a problem that Cody fixed, making
-it work with both clang and gcc - in macOS. It was then noticed that with clang
-in linux it did not work so this had to be further fixed which Cody also did.
-For the original code with the gcc fix (noted below), see the alternate code
-section in the README.md file.
+Cody fixed this to not require `-traditional-cpp` which some compilers like
+clang do not support. Fixing `-traditional-cpp` is, as noted earlier, very
+complicated, but we encourage you to look at the alternate code (which is the
+original code with a minor modification made by the judges) and the fixed
+code, to see what had to be done.
+
+Clang is also more strict about the type of args in `main()` and this was also a
+problem that Cody fixed, making it work with both clang and gcc.
+
+These fixes worked fine in macOS but it turned out that in some cases with clang
+in linux it did not work so this had to be further fixed which Cody also did. It
+is no longer clear what the problem was as in fedora 38 with clang 16.0.6 the
+only difference is it causes additional warnings but it seems to work just fine.
+It seems unlikely that a fix was made just for warnings so it is presumed that
+there was another problem so the change is kept in place.
+
+A note about the fix is that the `#define`d macros that were used still exist
+but are not used; they are left in just to make it look more like the original
+entry. Nevertheless they cannot be used.
Originally Yusuke supplied a patch so that this entry would compile with gcc -
but not clang - or at least some versions.
@@ -108,26 +121,33 @@ but not clang - or at least some versions.
## [1984/mullender](1984/mullender/mullender.c) ([README.md](1984/mullender/README.md]))
-Cody provided an alternate version which was an improved version from the judges
-so that everyone can enjoy it with systems that are not VAX/PDP. We also refer you
-to the [FAQ](faq.md) as there are some winning entries that also let one enjoy
-it - with more to them of course!
+Cody provided an alternate version, an improved version of the judges, so that
+everyone can enjoy it with systems that are not VAX/PDP. We also refer you to
+the [FAQ](faq.md) as there are some winning entries that also let one enjoy it -
+with more to them of course!
-Cody also added the [gentab.c](1984/mullender/gentab.c) file, modified to
-compile with modern systems, which the author noted in their remarks which Cody
-also found.
+Cody also added the [gentab.c](1984/mullender/gentab.c) file, fixed to compile
+with modern systems and so that it would create the proper array (it had
+unbalanced '}'s), which the author noted in their remarks (which Cody also
+found). As this file uses the old header file `a.out.h` that is not available in
+all modern systems, Cody found a copy of it as to what it should have been at
+the time, in the fabulous [Unix History
+Repo](https://github.com/dspinellis/unix-history-repo/tree/Research-Release).
## [1985/applin](1985/applin/applin.c) ([README.md](1985/applin/README.md]))
-Yusuke provided a patch to get this to not crash and Cody fixed this to
-work with macOS (it printed the string `H????` in a seemingly infinite loop,
-each time printing another `?`).
+Both Cody and Yusuke fixed this; Yusuke got this to not crash and Cody fixed it
+to work with macOS.
-The problem with the crash is that it destructively rewrites string literals but
-with `strdup()` it's safe.
+The crash was because it destructively rewrites string literals. However with
+`strdup()` it's safe.
-For macOS it's because there was no prototype for `execlp()` and macOS has
+The problem with macOS is that although it didn't crash, it printed `H????` in a
+seemingly infinite loop, each time printing another `?`, probably until it ran
+out of memory.
+
+The fix for macOS is that there was no prototype for `execlp()` and macOS has
problems with missing prototypes for some functions (this was also seen when
Cody fixed [1984/anonymous](/1984/anonymous/anonymous.c) for macOS as well).
Ironically this fix was discovered through linux!
@@ -921,20 +941,60 @@ segfault fixes should be made because the program is so beautiful.
## [1998/schweikh1](1998/schweikh1/schweikh1.c) ([README.md](1998/schweikh1/README.md]))
-Cody fixed this for modern systems (it did not work at all). He also made it so
-that if a file fails to open it does not return but rather skips the reading of
-the file. Without this fix the entry did not work.
+Cody fixed this for modern systems (it did not work at all) and added an
+alternate version that works with macOS. Cody also made it ever so slightly more
+portable by removing the hard-coding of `gcc`, instead hard-coding it `cc`. Doing
+this not only lets it work with systems without `gcc` (though in macOS it does
+exist but is actually `clang`) as `cc` always should.
-What was wrong? The call to `freopen()` was incorrect with the second arg (the
-mode) being instead `5+__FILE__`. It now is `"r"`. There was also a call to
-`fopen()` that was wrong where the mode was instead `44+__FILE__`. Interestingly
-enough though this did not seem to be an issue though I cannot explain why. He
-notes that it works fine with `clang` as well as `gcc` (which is what is used
-but in macOS - see below for alternate code - `gcc` is clang).
+Getting this entry to work was quite complicated but is also very interesting.
+To see how the macOS fixes works, see the README.md but do note that this
+includes spoilers for both versions! The fixes to get it to work at all are
+described next.
-Additionally Cody provided an alternate version for macOS. The fix is
-rather complicated but very interesting. See the README.md file for details on
-how it works and how to use it.
+So what was wrong with the original?
+
+The call to `freopen()` was incorrect with the second arg (the mode) being
+`5+__FILE__`; it is now `"r"`. (Observe that the mode to the `fopen()`
+call is: `44+__FILE__`. This might seem incorrect and indeed it can be changed
+to `"r"` as well but this was not actually necessary so once this was noticed it
+was changed back to the original.)
+
+Another important change is that the files are only closed if the `FILE *H` is
+`!= NULL`. Without this check, because it's almost certain that some files will
+not exist, it would dereference a NULL pointer and very likely crash or halt and
+catch fire :-), preventing the entry from working. Notice how `H` is a funny
+macro defined as:
+
+```c
+%:define H(x)
+```
+
+and yet the `FILE *` can be called `H`! This might or might not make sense to
+you but if it doesn't can you figure out why?
+
+Another fix is that previously the program would `return 1` if a file failed to
+open but for the same reason as above, it being very likely some files will not
+exist, the return was removed so that if the statement of the `if` is true the
+`while` loop run, rather than having the loop by itself. It was done this way to
+make it as close to the original as possible and to maintain the obfuscation as
+close as possible as well.
+
+Also crucial, and the final fixes to make it work, is that the arrays `K` and
+`L` had to be increased in size. They were originally (somewhat bewildering at
+first glance) defined as `K[X(*)], L[X(<<)]` but they were changed to
+`K[(X(*))*4], L[4*X(<<)]` though it is no longer clear just how necessary this
+might be.
+
+As noted, a limitation of `gcc` existing was removed by Cody to make it so that
+`gcc` is not required as `cc` should exist in every system with a C compiler and
+as the author stated: as long as the options `-E -dM` of the compiler prints out
+the macros in the form of `gcc -dM` i.e. the lines are in the form `#define
+MACRO value` it will work, assuming that compiler can run, of course.
+
+As for the version for macOS, the even more complicated details are described in
+the [Alternate code](1998/schweikh1/README#alternate-code) section of the
+README.md file as these changes pertain to the described version therein.
## [1998/schweikh2](1998/schweikh2/schweikh2.c) ([README.md](1998/schweikh2/README.md]))
@@ -989,6 +1049,12 @@ segfault when run or not compile at all (gcc and clang respectively).
Cody also provided alternate code that supports the southern hemisphere.
+Later on Cody restored the `#include`s in the source code which had been changed
+by us to make it a one-liner again but this was an error as it was not a
+one-liner but rather a small program. At the same point Cody made the code
+itself a one-line like the code is in the original entry. Now it looks much more
+like the original entry but with the two fixes.
+
## [2000/thadgavin](2000/thadgavin/thadgavin.c) ([README.md](2000/thadgavin/README.md]))
@@ -1739,23 +1805,64 @@ Further, after the file 2013/hou/doc/example.markdown was moved to
this broke `make` which Cody also fixed.
+## [2013/misaka](2013/misaka/misaka.c) ([README.md)[2013/misaka/README.md))
+
+As there are a lot of commands to try, Cody added the
+[demo.sh](2013/misaka/demo.sh) script to do this, sleeping for approximately 1
+second between commands.
+
+
## [2013/morgan1](2013/morgan1/morgan1.c) ([README.md](2013/morgan1/README.md))
Cody added explicit linking of libm (`-lm`) as not all systems do this
implicitly (linux doesn't seem to but macOS does).
+## [2014/deak](2014/deak/prog.c) ([README.md](2014/deak/README.md))
-## [2014/maffiodo1](2014/maffiodo1/maffiodo1.c) ([README.md](2014/maffiodo1/README.md]))
+Cody fixed the code that the author provided which would be what the program
+would look like if, as the author put it:
+
+> The usage of recognizable elements from the C programming language in the
+application source code is intentionally kept to a bare minimum. If this phrase
+would not be true, the application would be the following:
+
+It did not compile because a value was left off the `return` statement.
+
+Cody added this as alternate code just for fun and so one can more easily see
+the difference to really appreciate the obfuscation.
+
+## [2014/endoh1](2014/endoh1/prog.c) ([README.md](2014/endoh1/README.md]))
+
+Cody added the [rake.sh](2014/endoh1/rake.sh) script and `make rake` rule that
+runs the script. This script will check that `rake` is installed and if it is
+not it will report this and then check that `gem` is installed. It checks that
+`gem` is installed in this case because `gem` is how you install `rake`. If
+`gem` is not installed it tells you to get it along with how to install `gem`.
+Then it tells you how to install `rake`. If `rake` fails to run then it tells
+you to install a specific gem and then to try again. Finally if `rake` succeeds
+it will verify that `prog` is executable and if it is it will run it.
+
+**_Barely_** worth noting but done nonetheless, Cody renamed the `read_me.md`
+file to [spoilers.md](2014/endoh1/spoilers.md) to be clearer in its purpose as
+it is a file with spoilers.
+
+## [2014/maffiodo1](2014/maffiodo1/prog.c) ([README.md](2014/maffiodo1/README.md]))
Cody fixed the build for this entry: it does not require SDL2 but SDL1 so there
were linking errors.
+## [2014/vik](2014/vik/prog.c) ([README.md](2014/vik/README.md))
+
+Cody added an alternate version that is based on the author's remarks that will
+theoretically work for Microsoft Windows compilers (if anything works in Windows
+:-) ). We have no way of testing this and if anything has changed since 2014
+that would break it we do not know.
## [2015/endoh3](2015/endoh3/prog.c) ([README.md](2015/endoh3/README.md]))
Cody fixed this to compile with linux which was having a problem with duplicate
-symbols of `main()`. The fix is through the option `-fcommon` which will let it
-compile like it does with macOS.
+symbols of `main()`. The fix is through the compiler option `-fcommon` which
+will let it compile like it does with macOS.
Cody also made it easier to enjoy the theme of [Back to the
Future](https://en.wikipedia.org/wiki/Back_to_the_Future) using this entry by
diff --git a/todo.md b/todo.md
index 8bb8089b7..277d54cf4 100644
--- a/todo.md
+++ b/todo.md
@@ -1,5 +1,5 @@
# A todo list of known things to check and/or do
-*Last updated: Tue 10 Oct 2023 13:08:59 UTC*
+*Last updated: Mon 16 Oct 11:22:52 UTC 2023*
This document is primarily for [Cody Boone
Ferguson](/winners.html#Cody_Boone_Ferguson) as he (that is I :-) ) wanted a way
@@ -32,10 +32,16 @@ mind that abuses a bug in a now very old gcc version - this obviously cannot be
fixed but I added an alt version that does what it used to do so it's fine) but
many certainly can be - and actually most have been - fixed.
-- Check for typos in README.md files. Although I did up through I believe 2011 I
-have to do another pass through all except that as of 12 July 2023 I went
-through 1984 and 1985. At the same time the formatting has to be / is being
-checked.
+- Format fix remaining README.md files. As of **16 October 2023** the entries of
+years through 2013 and up through 2014/endoh1 have been checked. As for the
+`YYYY/README.md` files years up through 2001 have had a first pass but some
+things have to be done in those years. These things, such as dealing with old
+email addresses and such, can likely be done with the typo pass (see below).
+
+- *AFTER* the README.md files have been format fixed: check for typos in
+README.md files. Although I did up through I believe 2011 I have to do another
+pass through all except that as of 12 July 2023 I went through 1984 and 1985. At
+the same time the formatting has to be / is being checked.
* UPDATE on 06 July 2023: some while back I noticed that _ALL_ years will
have to be checked again but most of the years checked through 2011 (I think
it is but I have this vague memory I did a couple more years - that will be
@@ -45,9 +51,12 @@ checked.
* UPDATE on 06 July 2023: note that this does NOT include the
`YYYY/README.md` files! See the below item for that.
-- Go through all year README.md files that is 1984/README.md, 1985/README.md and
-so on. As of *Sun 30 Apr 2023 13:45:52 UTC* the following years have been
-finished: 1984, 1985, 1986, 2004, 2005.
+- Go through all year README.md files: that is 1984/README.md, 1985/README.md and
+so on. As of **Mon 16 Oct 11:22:52 UTC 2023** the following years have had a
+first pass: 1984 through 2001. However there are changes that are required
+namely to do with email addresses that no longer exist. At this point it is not
+determined if this will be done with the typo pass (what should be the final
+pass) or not but it's very possible that it can be just to speed things along.
- Verify which README.md files have not been checked for correct formatting and
fix any issues.