fix standard headers and header spacing in winner README.md files

This commit is contained in:
Landon Curt Noll committed 2023-11-02 15:45:36 -07:00
1 parent 50837e452e
commit fbd20cfdc2
319 files changed
+1601 -382

No files matched your search

+6 -2
View File
@@ -3,6 +3,7 @@
Jay Vosburgh\
US
## To build:
```sh
@@ -10,7 +11,7 @@ make all
```
### Bugs and (Mis)features
### Bugs and (Mis)features:
The current status of this entry is:
@@ -27,7 +28,8 @@ For more detailed information see [1989 fubar in bugs.md](/bugs.md#1989-fubar).
./fubar <number>
```
## Try:
### Try:
```sh
./fubar 2
@@ -45,6 +47,7 @@ Do you know why?
NOTE: the file `ouroboros.c` is created by the program itself so this is why it
is not in the repository.
## Author's remarks:
In a nutshell, this is probably the slowest and most
@@ -60,6 +63,7 @@ works by successively modifying #define lines each pass through.
Both `indent` and `cb` will damage the program, `indent`
much more so.
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
+4
View File
@@ -7,6 +7,7 @@ Otakaari 1\
02150 Espoo\
Finland
## To build:
NOTE: this will run the program itself.
@@ -18,6 +19,7 @@ make clobber all
There is an alternate version with a slight difference that you may wish to try.
See [Alternate code](#alternate-code) below.
## To use:
NOTE: this will run the program itself:
@@ -91,12 +93,14 @@ more apparent, as was the case when using dumb CRT terminals (some
do dumb that they couldn't even process simple ANSI escape sequences)
were more common.
## Author's remarks:
This program is (supposedly) the smallest C program able to print "Hello
world.". The compilation itself produces the desired printout and the program
need not be actually run.
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
+4 -1
View File
@@ -7,6 +7,7 @@ Otakaari 1\
02150 Espoo\
Finland
## To build:
```sh
@@ -27,7 +28,8 @@ make all
NOTE: this entry will likely segfault on invalid input.
## Try:
### Try:
```sh
./try.sh
@@ -114,6 +116,7 @@ made using string representations of the lists. These operations
must count parentheses and skip whitespace. This leads to extremely
poor performance!
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
+5 -2
View File
@@ -6,6 +6,7 @@ ETH - Zentrum\
8092 Zuerich\
Switzerland
## To build:
```sh
@@ -14,6 +15,7 @@ make all
To get this to compile with a modern CPP, we had to replace `#D` with `#define`.
## To use:
Run the program this way:
@@ -25,7 +27,8 @@ Run the program this way:
The program stops when it reaches the end of the template buffer\
by chance or is killed.
## Try:
### Try:
```sh
./ovdluhe < ./ovdluhe.c
@@ -66,7 +69,6 @@ such as mailboxes, man pages and usenet articles are especially
recommended. You will get different output each time you run it.
## Author's remarks:
This program implements an "Eddington ape" - it generates
@@ -86,6 +88,7 @@ sentences can be dramatically random.
You might want to vary the definition of P between 2 and 10 and
observe the result.
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
+5 -1
View File
@@ -3,6 +3,7 @@
Paul E. Black\
US
## To build:
```sh
@@ -12,7 +13,8 @@ make all
There is an alternate version with a trace routine that the author had commented
out. See [alternate code](#alternate-code) below for more details.
## Try:
### Try:
```sh
./paul
@@ -56,6 +58,7 @@ and joining lines 12 and 13 together without a space.
However as this is no longer a problem the trailing `\` has been restored in all
versions, both the original and the fixed for modern systems version.
## Author's remarks:
This programs computes and prints Fibonacci numbers by
@@ -140,6 +143,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.
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
+7 -2
View File
@@ -3,6 +3,7 @@
Arch D. Robison\
US
## To build:
```sh
@@ -10,7 +11,7 @@ make all
```
### Bugs and (Mis)features
### Bugs and (Mis)features:
The current status of this entry is:
@@ -28,7 +29,8 @@ For more detailed information see [1989 robison in bugs.md](/bugs.md#1989-robiso
# enter valid expressions
```
## Try:
### Try:
```sh
./robison
@@ -50,6 +52,7 @@ echo 100 / 100 | ./robison # <-- what happens here ?
This program will very likely crash or break into tiny bits :-) if you feed it
numbers with non-binary digits.
## Judges' remarks:
Sites with punch card facilities will be happy to note that
@@ -61,6 +64,7 @@ constructs that the C language supports.
For an interesting document on APL, see
<https://computerhistory.org/blog/the-apl-programming-language-source-code/>.
## Author's remarks:
This program is a handy picoAPL interpreter written in `C--`. It
@@ -95,6 +99,7 @@ To obtain a `C--` reference, simply rip out the irrelevant pages
from your K&R C manual. To obtain a `C--` compiler, simply rip
out the irrelevant bytes from your `cc` compiler.
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
+6 -1
View File
@@ -3,23 +3,27 @@
Lievaart, Roemer B.\
Netherlands
## To build:
```sh
make all
```
## Try:
### Try:
```sh
./roemer
```
## Judges' remarks:
Do you know what this program does? If you do, look again, there is more here
than meets the PI.
## Author's remarks:
Passes lint, but not with the strictest options, for it contains some
@@ -30,6 +34,7 @@ independent.
You are very much invited to pass this program through a C-beautifier (first
strip newlines and tabs, if your `cb` can't do that).
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
+6 -1
View File
@@ -3,19 +3,22 @@
John Tromp\
Netherlands
## To build:
```sh
make all
```
## To use:
```sh
./tromp [drops_per_sec [cmd_string]]
```
## Try:
### Try:
```sh
./tromp 5
@@ -70,6 +73,7 @@ benefits of the alt version, has not been done.
The original unmodified alternate code, which will no longer work right if it
even compiles, is provided later in the author's remarks.
## Judges' remarks:
This is a character terminal version of the `TETRIS` game.
@@ -163,6 +167,7 @@ can only by stopped by 'q' or by the `kill -9' command.
NOTE: the alternate version was fixed for modern systems in 2023.
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
+4 -2
View File
@@ -14,13 +14,15 @@ US
make all
```
## Try:
### Try:
```sh
./vanb the rug gary lent
./vanb unix is better than os/2
```
## Judges' remarks:
This program computes all proper subsets of the set of
@@ -28,7 +30,6 @@ arguments passed to it. Each subset is printed with one
element on each line, followed by a line of ten dashes.
## Author's remarks:
The program has the following charming and possibly
@@ -43,6 +44,7 @@ non-portable features:
* It uses the fact that if the high bit is set in a character variable, the
value is negative.
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
+4 -3
View File
@@ -4,6 +4,7 @@ Merlyn LeRoy (Brian Westley)\
US\
<http://www.westley.org>
## To build:
```sh
@@ -11,7 +12,7 @@ make all
```
### Bugs and (Mis)features
### Bugs and (Mis)features:
The current status of this entry is:
@@ -22,7 +23,7 @@ STATUS: known bug - please help us fix
For more detailed information see [1989 westley in bugs.md](/bugs.md#1989-westley).
## Try:
### Try:
Try compiling and running the 4 resulting programs like:
@@ -55,7 +56,6 @@ Finally try:
## Judges' remarks:
There is a secret way to get ONE of the versions to print out
"`Hello, world!\n`". Can you find how to do it?
@@ -176,6 +176,7 @@ helped here. It barely fits on an 80x24 screen. Squint. Note
that the code must start with a blank line, or the reversed version
will lack a terminating newline.
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.