fix a few more standard header lines in winner README.md files

This commit is contained in:
Landon Curt Noll committed 2023-11-02 16:01:23 -07:00
1 parent fbd20cfdc2
commit d2188d1491
56 files changed
+71 -9

No files matched your search

+2
View File
@@ -16,6 +16,7 @@ make all
./anonymous
```
## Alternate code:
The original version of this entry was added, by request,
@@ -23,6 +24,7 @@ in order to show the code that was turned into the
[tattoo](https://web.archive.org/web/20070120220721/https://thomasscovell.com/tattoo.php),
as the alternate code. See below for the tattoo side-by-side with the code.
### Alternate build:
```sh
+2
View File
@@ -31,12 +31,14 @@ For more detailed information see [1984 decot in bugs.md](/bugs.md#1984-decot).
./decot
```
## Alternate code:
This alternate code, the original, requires a compiler that supports
`-traditional-cpp` or an old enough compiler. If you have such a compiler you
can use this version.
### Alternate build:
```sh
+3 -2
View File
@@ -32,14 +32,15 @@ echo IOCCC | ./sicherman
./sicherman < sicherman.c | ./sicherman
```
## Alternate code:
This alternate version, which is the original entry, requires either an old
enough compiler or a compiler that supports `-traditional-cpp`. If you have such
a compiler you can try this version.
### Alternate build:
### Alternate build:
```sh
make alt
@@ -51,8 +52,8 @@ make alt
./sicherman.alt < file
```
### Alternate try:
### Alternate try:
```sh
./sicherman.alt < README.md | ./sicherman.alt
+2
View File
@@ -24,6 +24,7 @@ if nothing else.
./marshall
```
## Alternate code:
Due to the different [conflicting problems](compilers.md) with gcc and clang, we
@@ -31,6 +32,7 @@ instead offer the problematic code as an alternate version whereas
[marshall.c](marshall.c) has both the infinite loop and the complicated arg to
`_exit()` commented out, changing the value passed into `_exit()` to `1`.
### Alternate build:
To see if your compiler has the problems noted:
+1
View File
@@ -22,6 +22,7 @@ make all
If you have an old compiler or a compiler that supports `-traditional-cpp` you
might enjoy looking at the original source in [wall.alt.c](wall.alt.c).
### Alternate build:
```sh
+1
View File
@@ -24,6 +24,7 @@ make all
./hines hines.c
```
## Alternate code:
An alternate version of this entry is in [hines.alt.c](hines.alt.c). With older
+1
View File
@@ -31,6 +31,7 @@ To see what it would have looked like without the size restrictions:
# enter a level and start playing as described below
```
## Alternate code:
If you have an old enough compiler you might wish to try using it. To use:
+1
View File
@@ -18,6 +18,7 @@ make all
./westley
```
## Alternate code:
If you have an older compiler you can try compiling the original source code
+2
View File
@@ -23,11 +23,13 @@ program. See the [Alternate code](#alternate-code) section below for details.
./applin
```
## Alternate code:
As noted above a smaller version can be used in case your `cpp` has a hard time
with this entry.
### Alternate build:
```sh
+1
View File
@@ -39,6 +39,7 @@ behaviour?
./dale "$(printf "the following files exist in this directory:\n%s\n" *)"
```
## Alternate code:
If you have an old enough compiler you can try the original version in
+2
View File
@@ -21,6 +21,7 @@ code](#alternate-code) below.
./isaak
```
## Alternate code:
The original version of this code is in [isaak.alt.c](isaak.alt.c).
@@ -39,6 +40,7 @@ using that macro for `#define`.
This version will not likely work on modern systems if you can even get it to
compile.
### Alternate build:
```sh
+3 -2
View File
@@ -27,15 +27,15 @@ code](#alternate-code) section below.
./litmaath eschew obfuscation
```
## Alternate code:
## Alternate code:
This alternate code, added to help understand the entry and for fun, is code
that we suggested at the time of the entry publication but which we never put in
a file.
### Alternate build:
### Alternate build:
```sh
make alt
@@ -43,6 +43,7 @@ make alt
Use `litmaath.alt` as you would `litmaath` above.
### Alternate try:
```sh
+1
View File
@@ -25,6 +25,7 @@ and try:
rm -f spinellis ; cc spinellis.c -o spinellis < input2.txt && ./spinellis
```
## Alternate code:
For clang try the alt code like:
+1
View File
@@ -57,6 +57,7 @@ You might enjoy looking at the output of:
cc -E westley.alt.c
```
## Alternate code:
To see if your compiler has the problem described above try:
+2
View File
@@ -28,10 +28,12 @@ NOTE: this will run the program itself:
make clobber all
```
## Alternate code:
This code, which prints something slightly different, is provided as well.
### Alternate build:
NOTE: this will run the program itself.
+1 -1
View File
@@ -38,6 +38,7 @@ by chance or is killed.
./ovdluhe < README.md
```
## Alternate code:
The author suggested that one varies the definition of `P` from 2 through 10. As
@@ -46,7 +47,6 @@ it's a `#define` it's easy to set up.
### Alternate build:
```sh
make CFLAGS="-DP=9" clobber alt
```
+2
View File
@@ -20,6 +20,7 @@ out. See [alternate code](#alternate-code) below for more details.
./paul
```
## Alternate code:
This version was described by the author like:
@@ -30,6 +31,7 @@ the program. Besides it is fun to watch the tape zooming back
and forth as the program runs. A much better debugger or trace
could easily be added.
### Alternate build:
```sh
+1
View File
@@ -57,6 +57,7 @@ loser](https://web.archive.org/web/20181023221954/https://www.chicagotribune.com
The author provided an alternate version of the code with some improvements. See
the judges' additional remarks in the author's remarks, for more details.
### Alternate build:
```sh
+2
View File
@@ -33,6 +33,7 @@ echo 3 | ./baruch
Why is there no output?
## Alternate code:
This alternate code is for the [very few](https://en.wikipedia.org/wiki/0)
@@ -43,6 +44,7 @@ Turbo-C or MSC, the code is based on the authors' remarks except that the `"
improved output though admittedly we have no way to test the compilers in
question. YMMV.
### Alternate build:
```sh
+1
View File
@@ -33,6 +33,7 @@ The number should be greater than 0.
./westley 5
```
## Alternate code:
If you have an old enough compiler try and to see how C has changed over the years:
+1
View File
@@ -27,6 +27,7 @@ make all
./albert 1234567890123456789
```
## Alternate code:
An alternate version of this entry, [albert.alt.c](albert.alt.c), is provided.
+1
View File
@@ -49,6 +49,7 @@ Fourth:
Sorry, this is third!
```
## Alternate code:
An alternate version of this entry, [buzzard.2.alt.c](buzzard.2.alt.c), is
+1 -1
View File
@@ -44,8 +44,8 @@ show correctly!
The author provided a version for the US which we added. To build:
### Alternate build:
### Alternate build:
```sh
make alt
+1
View File
@@ -34,6 +34,7 @@ NOTE: an alternate version exists. See Alternate code section below.
```
## Alternate code:
To use:
+2 -1
View File
@@ -36,8 +36,8 @@ judges noted that the C pre-processed version (with the `#include`s
left intact) looked very much like a rat "dropping core". See
[garry.alt.c](garry.alt.c) and judge for yourself!
### Alternate build:
### Alternate build:
```sh
make alt
@@ -49,6 +49,7 @@ make alt
./garry.alt <input_file >output_file
```
### Alternate try:
```sh
+1
View File
@@ -40,6 +40,7 @@ make clobber all LEVEL=6
./vanschnitz
```
## Alternate code:
The authors provided a spoiler version of the program. Originally uuencoded we
+1
View File
@@ -39,6 +39,7 @@ And for a good time, try:
sh ./clock3
```
## Alternate code:
An alternate version of this entry, [westley.alt.c](westley.alt.c), is provided.
+1
View File
@@ -41,6 +41,7 @@ For more detailed information see [1998 dlowe in bugs.md](/bugs.md#1998-dlowe).
Why is there different output?
## Alternate code:
NOTE: The original entry was just a text based pootifier. To build
+1
View File
@@ -28,6 +28,7 @@ how to use it.
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 this entry will not work as it stands for macOS and there are
+1
View File
@@ -45,6 +45,7 @@ screen.
echo "Do or do not. There is no try."
```
## Alternate code:
An alternate version exists which allows you to slow down the printing of the
+1
View File
@@ -25,6 +25,7 @@ make
./gavare > ioccc_ray.ppm
```
## Alternate code:
The author provided [on their web page for the
+1
View File
@@ -27,6 +27,7 @@ make
./hoyle 2 0 1 0 -0.001
```
## Alternate code:
An alternate version of this entry, [hoyle.alt.c](hoyle.alt.c), is provided.
+1
View File
@@ -27,6 +27,7 @@ make
./toledo a b
```
## Alternate code:
Two alternate versions of this entry, [toledo2.c](toledo2.c) and
+1
View File
@@ -32,6 +32,7 @@ another) while the X11 server is running.
echo "Do or do not. There is no try."
```
## Alternate code:
The [vince.alt.c](vince.alt.c) code of the submission will run on SGI IRIX and
+2
View File
@@ -58,11 +58,13 @@ RUN
To end the program hit ctrl-z.
## Alternate code:
This version, as noted, should work for DOS/Windows. It uses non-standard
functions in place of `read(2)` and `write(2)`.
### Alternate build:
```sh
-1
View File
@@ -34,7 +34,6 @@ Also try using `endoh1_color` as you would `endoh1` above. `make` will compile
this by default.
## Alternate code:
An alternate version of this entry, `endoh1.alt.c`, is provided.
+3 -1
View File
@@ -35,6 +35,7 @@ echo "full spelling of an English cardinal numeral less than a quadrillion" | ./
How does it have no `u` or `o` in a string in the source code and yet it gets
`uno` right?
## Alternate code:
This alternate code fixes the program that would throw off those who know German
@@ -45,6 +46,7 @@ Germans that causes other problems for Germans so if you're German you'll just
have to deal with it :-) It is, however, good as you can appreciate the entry
even more.
### Alternate build:
```sh
@@ -58,8 +60,8 @@ echo vier | ./kang.alt
echo uno | ./kang.alt
```
### Alternate try:
### Alternate try:
```sh
./de.alt.sh # German 0 through 13 both with and without umlaut
+1
View File
@@ -27,6 +27,7 @@ NOTE: N is an integer from 0 to 255.
./konno 30
```
## Alternate code:
An alternate version of this entry, [konno.alt.c](konno.alt.c), is provided.
+1
View File
@@ -31,6 +31,7 @@ try [incorrect.c](incorrect.c) and the program itself.
NOTE: it prints an error and exits on the first nesting error so it will not
detect multiple issues!
## Alternate code:
An alternate version of this entry, [zeitak.alt.c](zeitak.alt.c), is provided.
+1
View File
@@ -40,6 +40,7 @@ For more detailed information see [2013 cable3 in bugs.md](/bugs.md#2013-cable3)
NOTE: to quit the program type `QUITEMU`.
## Alternate code:
An alternate version, which should compile in Windows, is provided. To use try:
+1
View File
@@ -30,6 +30,7 @@ compile. See [alternate code](#alternate-code) below.
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
+1
View File
@@ -44,6 +44,7 @@ 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
+1
View File
@@ -52,6 +52,7 @@ grep '[0-9]' prog.c
man ./calc.1
```
## Alternate code:
An alternate version of this entry, `prog.alt.c`, is provided.
+1
View File
@@ -32,6 +32,7 @@ DRAFT=1 ./prog < prog.c
./prog < prog.c
```
## Alternate code:
An alternate version of this entry, prog.alt.c, is provided. This alternate
+1
View File
@@ -31,6 +31,7 @@ make
./prog $(< Makefile)
```
## Alternate code:
An alternate version of this entry, `prog.alt.c`, is provided.\
+1
View File
@@ -47,6 +47,7 @@ cp war-and-peace.txt nuked.tmp
./avgtime.sh 100 ./prog war-and-peace.txt nuked.tmp
```
## Alternate code:
An alternate version of this entry, `prog.alt.c`, is provided.
+1
View File
@@ -25,6 +25,7 @@ make
./prog < README.md
```
## Alternate code:
An alternate version of this entry, [prog.alt.c](prog.alt.c), is provided.
+1
View File
@@ -25,6 +25,7 @@ make
./prog < prog.c
```
## Alternate code:
An alternate version of this entry, [prog.alt.c](prog.alt.c), is provided
+1
View File
@@ -24,6 +24,7 @@ make
./prog < README.md
```
## Alternate code:
An alternate version of this entry, `prog.alt.c`, is provided. As mentioned in
+1
View File
@@ -31,6 +31,7 @@ make
make test
```
## Alternate code:
The author provided an alternate version which has a simpler keyboard for the
+1
View File
@@ -75,6 +75,7 @@ find . -name '.[A-Z]*' -delete
though one might want to check that the program is not currently running. :-)
## Alternate code:
An alternate version of this entry, [prog.alt.c](prog.alt.c), is provided. This alternate
+1
View File
@@ -46,6 +46,7 @@ For more detailed information see [2020 burton in bugs.md](/bugs.md#2020-burton)
./prog 128 128 128 128
```
## Alternate code:
By default, this code compiles for Little Endian machines.
+1
View File
@@ -32,6 +32,7 @@ make
./prog unwinnable.txt
```
## Alternate code:
An alternate version of this entry, [prog.alt.c](prog.alt.c), is provided. This
+1
View File
@@ -26,6 +26,7 @@ make
# And watch closely for 15-20 seconds
```
## Alternate code:
An alternate version of this entry, `prog.alt.c`, is provided. This alternate code uses Unicode letters.
+1
View File
@@ -28,6 +28,7 @@ echo IOCCC | ./prog
./prog < prog.x86_64.asm
```
## Alternate code:
An even smaller alternate version of this entry, prog.alt.c, is provided. This code does not contain any headers, nor any workaround for WIN32 based platforms.
+1
View File
@@ -31,6 +31,7 @@ echo International Obfuscated C Code Contest | ./prog
./prog < input.txt
```
## Alternate code:
There is an alternate version of this code in `prog.alt.c` where the main code is a macro.