diff --git a/1984/anonymous/README.md b/1984/anonymous/README.md index e3a25337f..561116af1 100644 --- a/1984/anonymous/README.md +++ b/1984/anonymous/README.md @@ -29,7 +29,7 @@ as the alternate code. See below for the tattoo side-by-side with the code. ### Alternate use: -NOTE: this version might not work on some systems like macOS. +**NOTE**: this version might not work on some systems like macOS. ``` ./anonymous.alt diff --git a/1984/anonymous/index.html b/1984/anonymous/index.html index a379a22fa..9bde15868 100644 --- a/1984/anonymous/index.html +++ b/1984/anonymous/index.html @@ -420,7 +420,7 @@ as the alternate code. See below for the tattoo side-by-side with the code.

Alternate build:

    make alt

Alternate use:

-

NOTE: this version might not work on some systems like macOS.

+

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 diff --git a/1984/decot/README.md b/1984/decot/README.md index 98668dd85..8e7adeea6 100644 --- a/1984/decot/README.md +++ b/1984/decot/README.md @@ -4,7 +4,7 @@ make all ``` -NOTE: there is an [alternate version](#alternate-code) which will only work if +**NOTE**: there is an [alternate version](#alternate-code) which will only work if you have an old enough compiler or a compiler that supports `-traditional-cpp`. The original code was fixed in 2023 to not require this. diff --git a/1984/decot/index.html b/1984/decot/index.html index 94a44eeb4..4dc4b7b2b 100644 --- a/1984/decot/index.html +++ b/1984/decot/index.html @@ -410,7 +410,7 @@ Location: US - United States of America

To build:

    make all
-

NOTE: there is an alternate version which will only work if +

NOTE: there is an alternate version which will only work if you have an old enough compiler or a compiler that supports -traditional-cpp. The original code was fixed in 2023 to not require this.

Bugs and (Mis)features:

diff --git a/1984/mullender/README.md b/1984/mullender/README.md index e7529c915..a3487f972 100644 --- a/1984/mullender/README.md +++ b/1984/mullender/README.md @@ -4,7 +4,7 @@ make alt ``` -NOTE: the original code will not work on any system other than +**NOTE**: the original code will not work on any system other than [VAX-11](https://en.wikipedia.org/wiki/VAX-11) and [PDP-11](https://en.wikipedia.org/wiki/PDP-11) and this is why we encourage you to use the alt version instead. See [original code](#original-code) below for @@ -151,7 +151,7 @@ Repo](https://github.com/dspinellis/unix-history-repo/tree/Research-Release). ./gentab gentab > g.c ``` -NOTE: it is highly unlikely that you will be able to run the output of `gentab` +**NOTE**: it is highly unlikely that you will be able to run the output of `gentab` but it should at least compile. diff --git a/1984/mullender/index.html b/1984/mullender/index.html index b4caa1e28..3fbbb5e47 100644 --- a/1984/mullender/index.html +++ b/1984/mullender/index.html @@ -415,7 +415,7 @@ Location: NL - Kingdom of the Netherlan

To build:

    make alt
-

NOTE: the original code will not work on any system other than +

NOTE: the original code will not work on any system other than VAX-11 and PDP-11 and this is why we encourage you to use the alt version instead. See original code below for @@ -502,7 +502,7 @@ Repo.

    ./gentab file

gentab try:

    ./gentab gentab > g.c
-

NOTE: it is highly unlikely that you will be able to run the output of gentab +

NOTE: it is highly unlikely that you will be able to run the output of gentab but it should at least compile.

Author’s remarks:

Notes from the judges:

diff --git a/1986/marshall/README.md b/1986/marshall/README.md index 2cd7d2804..cdea38b38 100644 --- a/1986/marshall/README.md +++ b/1986/marshall/README.md @@ -4,7 +4,7 @@ make all ``` -NOTE: we **FORCE** disable the optimiser due to a funny problem with different +**NOTE**: we **FORCE** disable the optimiser due to a funny problem with different compilers and systems. See below and [compilers.html](compilers.html) for details. There is an [alternate version](#alternate-code). The reason is a funny problem: diff --git a/1986/marshall/index.html b/1986/marshall/index.html index 05fb23277..5a1fb5451 100644 --- a/1986/marshall/index.html +++ b/1986/marshall/index.html @@ -410,7 +410,7 @@ Location: US - United States of America

To build:

    make all
-

NOTE: we FORCE disable the optimiser due to a funny problem with different +

NOTE: we FORCE disable the optimiser due to a funny problem with different compilers and systems. See below and compilers.html for details.

There is an alternate version. The reason is a funny problem: in modern systems, depending on the platform, compiler and the optimiser, it diff --git a/1986/stein/README.md b/1986/stein/README.md index f6f35852c..3482216fb 100644 --- a/1986/stein/README.md +++ b/1986/stein/README.md @@ -21,7 +21,7 @@ ## Judges' remarks: -NOTE: to avoid problems with news and mail, the single line was split +**NOTE**: to avoid problems with news and mail, the single line was split into 3 lines. Join all lines into a single line to recreate the original file. diff --git a/1986/stein/index.html b/1986/stein/index.html index a7d098eb7..c60b3cf69 100644 --- a/1986/stein/index.html +++ b/1986/stein/index.html @@ -415,7 +415,7 @@ Location: ZZ - Unknown locationTry:

    ./stein.sh

Judges’ remarks:

-

NOTE: to avoid problems with news and mail, the single line was split +

NOTE: to avoid problems with news and mail, the single line was split into 3 lines. Join all lines into a single line to recreate the original file.

The \015 in the above printf(1) command produces a control-N.

diff --git a/1987/biggar/README.md b/1987/biggar/README.md index 3c6ed9b3e..a34380bd2 100644 --- a/1987/biggar/README.md +++ b/1987/biggar/README.md @@ -36,7 +36,7 @@ One vendor's lint got hung in an infinite loop over this entry! FYI: We will let Mark get away with this truly sick entry this time, but for the future on we have placed a limit on the size of a compile line. -NOTE: originally we made a comment in [Larry Wall](../../authors.html#Larry_Wall)'s +**NOTE**: originally we made a comment in [Larry Wall](../../authors.html#Larry_Wall)'s [1987/wall](../wall/index.html) entry regarding Mark's contribution but it seems to have been lost in time. If anyone knows about its whereabouts we'd appreciate letting us know. Thanks! diff --git a/1987/biggar/index.html b/1987/biggar/index.html index ad73d2408..6de53e4b8 100644 --- a/1987/biggar/index.html +++ b/1987/biggar/index.html @@ -426,7 +426,7 @@ so what if the Makefiles grow a little! :-)

One vendor’s lint got hung in an infinite loop over this entry!

FYI: We will let Mark get away with this truly sick entry this time, but for the future on we have placed a limit on the size of a compile line.

-

NOTE: originally we made a comment in Larry Wall’s +

NOTE: originally we made a comment in Larry Wall’s 1987/wall entry regarding Mark’s contribution but it seems to have been lost in time. If anyone knows about its whereabouts we’d appreciate letting us know. Thanks!

diff --git a/1988/dale/README.md b/1988/dale/README.md index 7d9137cad..f4cde3d09 100644 --- a/1988/dale/README.md +++ b/1988/dale/README.md @@ -39,7 +39,7 @@ This entry has a very twisted flow of control via recursion, iteration and multi-processing. Try to understand what is being done with the system calls. -NOTE: This program assumes the ASCII character set is being used. +**NOTE**: This program assumes the ASCII character set is being used. ## Author's remarks: diff --git a/1988/dale/index.html b/1988/dale/index.html index 73644b171..27f88fabd 100644 --- a/1988/dale/index.html +++ b/1988/dale/index.html @@ -429,7 +429,7 @@ desired behaviour?

This entry has a very twisted flow of control via recursion, iteration and multi-processing. Try to understand what is being done with the system calls.

-

NOTE: This program assumes the ASCII character set is being used.

+

NOTE: This program assumes the ASCII character set is being used.

Author’s remarks:

No remarks were provided by the author.

To build:

    make all
-

NOTE: this version is a fixed version for modern C compilers. See the Alternate +

NOTE: this version is a fixed version for modern C compilers. See the Alternate code section below for how to use the original and why one might wish to do so.

Try:

diff --git a/1989/fubar/README.md b/1989/fubar/README.md index 9f7bc9ef3..8fba3ba96 100644 --- a/1989/fubar/README.md +++ b/1989/fubar/README.md @@ -40,7 +40,7 @@ bugs.html](../../bugs.html#1989_fubar) file). This is, however, a feature, not a The blank line at the beginning of the source is mandatory. Do you know why? -NOTE: the file `ouroboros.c` is created by the program itself so this is why it +**NOTE**: the file `ouroboros.c` is created by the program itself so this is why it is not in the repository. diff --git a/1989/fubar/index.html b/1989/fubar/index.html index 829fc1e3c..07f77927b 100644 --- a/1989/fubar/index.html +++ b/1989/fubar/index.html @@ -429,7 +429,7 @@ loop and compilation error as described in the Author’s remarks:

In a nutshell, this is probably the slowest and most diff --git a/1989/jar.1/README.md b/1989/jar.1/README.md index e433e91e8..ef7676f16 100644 --- a/1989/jar.1/README.md +++ b/1989/jar.1/README.md @@ -1,6 +1,6 @@ ## To build: -NOTE: this will run the program itself. +**NOTE**: this will run the program itself. ``` make clobber all @@ -24,7 +24,7 @@ This alternate code, which prints something slightly different, is provided as w ### Alternate build: -NOTE: this will run the program itself. +**NOTE**: this will run the program itself. ``` make clobber alt diff --git a/1989/jar.1/index.html b/1989/jar.1/index.html index 71f96a56b..324e2e734 100644 --- a/1989/jar.1/index.html +++ b/1989/jar.1/index.html @@ -409,7 +409,7 @@ Location: SE - Kingdom of Sweden (

To build:

-

NOTE: this will run the program itself.

+

NOTE: this will run the program itself.

    make clobber all

There is an alternate version with a slight difference that you may wish to try. See the Alternate code section below for more details.

@@ -418,7 +418,7 @@ See the Alternate code section below for more deta

Alternate code:

This alternate code, which prints something slightly different, is provided as well.

Alternate build:

-

NOTE: this will run the program itself.

+

NOTE: this will run the program itself.

    make clobber alt

Alternate use:

    ./jar.1.alt
diff --git a/1989/jar.2/README.md b/1989/jar.2/README.md index 6f588f7ae..f6739e3e0 100644 --- a/1989/jar.2/README.md +++ b/1989/jar.2/README.md @@ -14,7 +14,7 @@ ./jar.2 < some_lisp_file ``` -NOTE: this entry will likely segfault on invalid input. +**NOTE**: this entry will likely segfault on invalid input. ## Try: diff --git a/1989/jar.2/index.html b/1989/jar.2/index.html index a4b39bbe0..380fa3732 100644 --- a/1989/jar.2/index.html +++ b/1989/jar.2/index.html @@ -423,7 +423,7 @@ Location: US - United States of America [enter some lisp] ./jar.2 < some_lisp_file -

NOTE: this entry will likely segfault on invalid input.

+

NOTE: this entry will likely segfault on invalid input.

Try:

    ./try.sh
 
diff --git a/1989/ovdluhe/README.md b/1989/ovdluhe/README.md
index 691ce9c68..f8b4ebeea 100644
--- a/1989/ovdluhe/README.md
+++ b/1989/ovdluhe/README.md
@@ -60,7 +60,7 @@ value that's not a number.
     P=5 ./try.alt.sh
 ```
 
-NOTE: if you specify too high a value for `P` the program might fail. If you
+**NOTE**: if you specify too high a value for `P` the program might fail. If you
 specify a value < 0 it will fail to compile.
 
 
diff --git a/1989/ovdluhe/index.html b/1989/ovdluhe/index.html
index 7fb70087e..a1ef07d22 100644
--- a/1989/ovdluhe/index.html
+++ b/1989/ovdluhe/index.html
@@ -434,7 +434,7 @@ value that’s not a number.

    ./try.alt.sh
 
     P=5 ./try.alt.sh
-

NOTE: if you specify too high a value for P the program might fail. If you +

NOTE: if you specify too high a value for P the program might fail. If you specify a value < 0 it will fail to compile.

Judges’ remarks:

Run this program using your favorite text file as input. Files diff --git a/1989/robison/README.md b/1989/robison/README.md index b9e6722a9..8b1a62958 100644 --- a/1989/robison/README.md +++ b/1989/robison/README.md @@ -34,7 +34,7 @@ For more detailed information see [1989/robison in bugs.html](../../bugs.html#19 echo 100 / 100 | ./robison # <-- what happens here ? ``` -NOTE: This program will very likely crash or break into tiny bits :-) if you +**NOTE**: This program will very likely crash or break into tiny bits :-) if you feed it numbers with non-binary digits. This, as you might notice if you try one of the above commands, can happen with other input as well. If you wish to understand why this happens check the source code. diff --git a/1989/robison/index.html b/1989/robison/index.html index e6013a1b9..863a4f53d 100644 --- a/1989/robison/index.html +++ b/1989/robison/index.html @@ -427,7 +427,7 @@ Location: US - United States of America ./try.sh echo 100 / 100 | ./robison # <-- what happens here ?

-

NOTE: This program will very likely crash or break into tiny bits :-) if you +

NOTE: This program will very likely crash or break into tiny bits :-) if you feed it numbers with non-binary digits. This, as you might notice if you try one of the above commands, can happen with other input as well. If you wish to understand why this happens check the source code.

diff --git a/1989/tromp/README.md b/1989/tromp/README.md index df3aa6ada..caeb8b1e4 100644 --- a/1989/tromp/README.md +++ b/1989/tromp/README.md @@ -30,7 +30,7 @@ vim: - space - pause (space) - q - quit (:q) -NOTE: after the game ends a file called `HI` will be in the directory with the +**NOTE**: after the game ends a file called `HI` will be in the directory with the high scores (up to 20 runs saved) so one can see who has the highest score. The file might look like: @@ -62,7 +62,7 @@ the judges' additional remarks in the author's remarks, for more details. Use `tromp.alt` as you would `tromp` above. -NOTE: testing more than one user updating the high score file, one of the +**NOTE**: testing more than one user updating the high score file, one of the benefits of the alt version, has not been done. The original unmodified alternate code, which will no longer work right if it @@ -159,7 +159,7 @@ the `kill -9` command. "%4d from level %1d by %s\n",w,l,getlogin());pclose(d);} ``` -NOTE: the alternate version was fixed for modern systems in 2023. +**NOTE**: the alternate version was fixed for modern systems in 2023.

To build:

    make all
-

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to +

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to compile. For more information see the FAQ on “X11”.

To use:

diff --git a/1993/lmfjyh/README.md b/1993/lmfjyh/README.md index 53525ad42..b91fe6d63 100644 --- a/1993/lmfjyh/README.md +++ b/1993/lmfjyh/README.md @@ -18,7 +18,7 @@ traditional fashion of C. For an explanation of why and how this works see the author's remarks. The gist of the entry itself, however, is the file name _itself_ **is** _part of the code_. -NOTE: We delete the temporary file as part of `make all` whether +**NOTE**: We delete the temporary file as part of `make all` whether or not the compilation succeeds. This is a Makefile **feature** that might **bug** anyone running the make command. :-) diff --git a/1993/lmfjyh/index.html b/1993/lmfjyh/index.html index 2d9a63b5e..43408a704 100644 --- a/1993/lmfjyh/index.html +++ b/1993/lmfjyh/index.html @@ -417,7 +417,7 @@ Location: FI - Republic of Finland

For an explanation of why and how this works see the author’s remarks. The gist of the entry itself, however, is the file name itself is part of the code.

-

NOTE: We delete the temporary file as part of make all whether +

NOTE: We delete the temporary file as part of make all whether or not the compilation succeeds. This is a Makefile feature that might bug anyone running the make command. :-)

This entry will not compile with gcc version >= 2.3.3 as it relied diff --git a/1993/rince/README.md b/1993/rince/README.md index d0c2c7661..275b4ac0e 100644 --- a/1993/rince/README.md +++ b/1993/rince/README.md @@ -4,7 +4,7 @@ make all ``` -NOTE: there are two alternate versions of this program, both allowing one to +**NOTE**: there are two alternate versions of this program, both allowing one to slow down the game and the second one with movements more familiar to vi users. See the [Alternate code](#alternate-code) section below. diff --git a/1993/rince/index.html b/1993/rince/index.html index e464655ba..a4a5c96c8 100644 --- a/1993/rince/index.html +++ b/1993/rince/index.html @@ -410,7 +410,7 @@ Location: GB - United Kingdom of Great

To build:

    make all
-

NOTE: there are two alternate versions of this program, both allowing one to +

NOTE: there are two alternate versions of this program, both allowing one to slow down the game and the second one with movements more familiar to vi users. See the Alternate code section below.

Bugs and (Mis)features:

diff --git a/1993/schnitzi/README.md b/1993/schnitzi/README.md index 4d22a5239..48d2e5632 100644 --- a/1993/schnitzi/README.md +++ b/1993/schnitzi/README.md @@ -79,7 +79,7 @@ The author suggests the following questions when using We suggest you try using the body (minus the header and signature line) of a Usenet article. You might want to try something from _alt.flame_. :-) -NOTE: If you have certain `'` in the question this entry might fail. +**NOTE**: If you have certain `'` in the question this entry might fail. ## Author's remarks: diff --git a/1993/schnitzi/index.html b/1993/schnitzi/index.html index f36d6860b..154ce9386 100644 --- a/1993/schnitzi/index.html +++ b/1993/schnitzi/index.html @@ -453,7 +453,7 @@ some questions related to the text.

We suggest you try using the body (minus the header and signature line) of a Usenet article. You might want to try something from alt.flame. :-)

-

NOTE: If you have certain ' in the question this entry might fail.

+

NOTE: If you have certain ' in the question this entry might fail.

Author’s remarks:

I wanted to write a program that would read in a text file in natural language (such as English) and answer questions about that diff --git a/1994/tvr/README.md b/1994/tvr/README.md index d71969dd1..a63d830ac 100644 --- a/1994/tvr/README.md +++ b/1994/tvr/README.md @@ -4,7 +4,7 @@ make all ``` -NOTE: this entry requires the `X11/Xlib.h` header file and the X11 library to +**NOTE**: this entry requires the `X11/Xlib.h` header file and the X11 library to compile. For more information see the FAQ on "[X11](../../faq.html#X11)". diff --git a/1994/tvr/index.html b/1994/tvr/index.html index b95a4a445..72d02cfa2 100644 --- a/1994/tvr/index.html +++ b/1994/tvr/index.html @@ -410,7 +410,7 @@ Location: FI - Republic of Finland

To build:

    make all
-

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to +

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to compile. For more information see the FAQ on “X11”.

The author provided a less obfuscated version as alternate code. See Alternate diff --git a/1994/westley/README.md b/1994/westley/README.md index 521b266c8..2544474ef 100644 --- a/1994/westley/README.md +++ b/1994/westley/README.md @@ -58,7 +58,7 @@ where you get _messages as compiler errors_**. Depending on the compiler line yo will get different error messages and one compiler line will make you win the game! -NOTE: your terminal should be set to 80 columns, 8 character tabs, and +**NOTE**: your terminal should be set to 80 columns, 8 character tabs, and wraparound. The alternate code does not have this limitation and it is for this reason that we recommend you try it first. diff --git a/1994/westley/index.html b/1994/westley/index.html index 016d63bd5..452e903f5 100644 --- a/1994/westley/index.html +++ b/1994/westley/index.html @@ -441,7 +441,7 @@ and then run the program each time. For example:

where you get messages as compiler errors. Depending on the compiler line you will get different error messages and one compiler line will make you win the game!

-

NOTE: your terminal should be set to 80 columns, 8 character tabs, and +

NOTE: your terminal should be set to 80 columns, 8 character tabs, and wraparound. The alternate code does not have this limitation and it is for this reason that we recommend you try it first.

Original build:

diff --git a/1995/savastio/README.md b/1995/savastio/README.md index 4d55b0fe6..807674800 100644 --- a/1995/savastio/README.md +++ b/1995/savastio/README.md @@ -21,7 +21,7 @@ For more detailed information see [1995/savastio in bugs.html](../../bugs.html#1 # enter a POSITIVE number such as 100 ``` -NOTE: if you specify a negative number it will get stuck, showing no output. But +**NOTE**: if you specify a negative number it will get stuck, showing no output. But what happens if you give a non-number? diff --git a/1995/savastio/index.html b/1995/savastio/index.html index c200af9ef..4ebc9dded 100644 --- a/1995/savastio/index.html +++ b/1995/savastio/index.html @@ -419,7 +419,7 @@ Location:
US - United States of America

To use:

    ./savastio
     # enter a POSITIVE number such as 100
-

NOTE: if you specify a negative number it will get stuck, showing no output. But +

NOTE: if you specify a negative number it will get stuck, showing no output. But what happens if you give a non-number?

Try:

    ./try.sh
diff --git a/1998/banks/README.md b/1998/banks/README.md index 72290b60c..ea083cace 100644 --- a/1998/banks/README.md +++ b/1998/banks/README.md @@ -4,7 +4,7 @@ make all ``` -NOTE: this entry requires the `X11/Xlib.h` header file and the X11 library to +**NOTE**: this entry requires the `X11/Xlib.h` header file and the X11 library to compile. For more information see the FAQ on "[X11](../../faq.html#X11)". diff --git a/1998/banks/index.html b/1998/banks/index.html index 9b8280e7c..87d88de4c 100644 --- a/1998/banks/index.html +++ b/1998/banks/index.html @@ -410,7 +410,7 @@ Location: US - United States of America

To build:

    make all
-

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to +

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to compile. For more information see the FAQ on “X11”.

If you do not have a page up or page down key you might wish to see the diff --git a/1998/chaos/README.md b/1998/chaos/README.md index 0711b1297..c334e632e 100644 --- a/1998/chaos/README.md +++ b/1998/chaos/README.md @@ -4,7 +4,7 @@ make chaos ``` -NOTE: Some systems do not implement `halfdelay()` in their `libcurses`. +**NOTE**: Some systems do not implement `halfdelay()` in their `libcurses`. You might try compiling with `-lncurses` if you have that library. Or you can build this entry without the `halfdelay()` call by: diff --git a/1998/chaos/index.html b/1998/chaos/index.html index 1ee67c237..64840fd86 100644 --- a/1998/chaos/index.html +++ b/1998/chaos/index.html @@ -410,7 +410,7 @@ Location: US - United States of America

To build:

    make chaos
-

NOTE: Some systems do not implement halfdelay() in their libcurses. +

NOTE: Some systems do not implement halfdelay() in their libcurses. You might try compiling with -lncurses if you have that library. Or you can build this entry without the halfdelay() call by:

    make chaos_nohalf
diff --git a/1998/fanf/README.md b/1998/fanf/README.md index 076035ea4..547ebc656 100644 --- a/1998/fanf/README.md +++ b/1998/fanf/README.md @@ -4,7 +4,7 @@ make all ``` -NOTE: this may take a while. Some systems may have problems building +**NOTE**: this may take a while. Some systems may have problems building this entry because of the system resources it requires. diff --git a/1998/fanf/index.html b/1998/fanf/index.html index 6686347a4..c33f5751d 100644 --- a/1998/fanf/index.html +++ b/1998/fanf/index.html @@ -410,7 +410,7 @@ Location: GB - United Kingdom of Great

To build:

    make all
-

NOTE: this may take a while. Some systems may have problems building +

NOTE: this may take a while. Some systems may have problems building this entry because of the system resources it requires.

To use:

    ./fanf
diff --git a/2000/jarijyrki/README.md b/2000/jarijyrki/README.md index 1db5ddf5f..c7d872207 100644 --- a/2000/jarijyrki/README.md +++ b/2000/jarijyrki/README.md @@ -46,7 +46,7 @@ Now try running: And observe that it matches what you had in the previous run! -NOTE: changing the dimension parameters (see the authors' remarks) renders +**NOTE**: changing the dimension parameters (see the authors' remarks) renders existing spreadsheet files unusable. diff --git a/2000/jarijyrki/index.html b/2000/jarijyrki/index.html index 40be46f66..b040d8e3b 100644 --- a/2000/jarijyrki/index.html +++ b/2000/jarijyrki/index.html @@ -431,7 +431,7 @@ FAQ on “X11”.

Now try running:

    ./jarijyrki < myedits.info

And observe that it matches what you had in the previous run!

-

NOTE: changing the dimension parameters (see the authors’ remarks) renders +

NOTE: changing the dimension parameters (see the authors’ remarks) renders existing spreadsheet files unusable.

Judges’ remarks:

This entry is one of those that makes you wonder why some commercial software diff --git a/2000/natori/README.md b/2000/natori/README.md index 22c70f618..6633d78b5 100644 --- a/2000/natori/README.md +++ b/2000/natori/README.md @@ -73,7 +73,7 @@ Like with [try.sh](%%REPO_URL%%/2000/natori/try.sh), try using this multiple tim the day on different days (if different phases of the Moon you'll see more of a difference, of course). -NOTE: if it's a Full Moon the script won't look as nice. +**NOTE**: if it's a Full Moon the script won't look as nice. ## Judges' remarks: diff --git a/2000/natori/index.html b/2000/natori/index.html index 93813bd1c..0d9594e69 100644 --- a/2000/natori/index.html +++ b/2000/natori/index.html @@ -442,7 +442,7 @@ versions? Or are there any?

Like with try.sh, try using this multiple times in a row or throughout the day on different days (if different phases of the Moon you’ll see more of a difference, of course).

-

NOTE: if it’s a Full Moon the script won’t look as nice.

+

NOTE: if it’s a Full Moon the script won’t look as nice.

Judges’ remarks:

Here is a nice compact program that changes with the phase of the Moon. Can you figure out how it does it?

diff --git a/2000/primenum/README.md b/2000/primenum/README.md index 9b38d6556..ca4689a2f 100644 --- a/2000/primenum/README.md +++ b/2000/primenum/README.md @@ -20,7 +20,7 @@ For more detailed information see [2000/primenum in bugs.html](../../bugs.html#2 echo n | ./primenum n ``` -NOTE: `n` is an integer. +**NOTE**: `n` is an integer. ## Try: diff --git a/2000/primenum/index.html b/2000/primenum/index.html index e5dd4707c..fda8dd545 100644 --- a/2000/primenum/index.html +++ b/2000/primenum/index.html @@ -418,7 +418,7 @@ Location: US - United States of America

For more detailed information see 2000/primenum in bugs.html.

To use:

    echo n | ./primenum n
-

NOTE: n is an integer.

+

NOTE: n is an integer.

Try:

    ./try.sh

Judges’ remarks:

diff --git a/2001/coupard/README.md b/2001/coupard/README.md index 0044a33ee..9c8dbf9c1 100644 --- a/2001/coupard/README.md +++ b/2001/coupard/README.md @@ -85,7 +85,7 @@ file and saves it into `test.wav`. The output format of the program is 8KHz, unsigned 8-bit samples. -NOTE: the program's return code is meaningless. +**NOTE**: the program's return code is meaningless. ### Audio quality diff --git a/2001/coupard/index.html b/2001/coupard/index.html index 15a1663fa..53377a474 100644 --- a/2001/coupard/index.html +++ b/2001/coupard/index.html @@ -455,7 +455,7 @@ format, you can pipe it to SoX f

converts the output of the program into a 44.1KHz stereo .WAV file and saves it into test.wav.

The output format of the program is 8KHz, unsigned 8-bit samples.

-

NOTE: the program’s return code is meaningless.

+

NOTE: the program’s return code is meaningless.

Audio quality

The quality of the sound produced by the program is cross between a yogurt-pot-and-string diff --git a/2001/herrmann1/README.md b/2001/herrmann1/README.md index 7b68e8683..46031d81f 100644 --- a/2001/herrmann1/README.md +++ b/2001/herrmann1/README.md @@ -21,7 +21,7 @@ For more detailed information see [2001/herrmann1 in bugs.html](../../bugs.html# ./herrmann1.sh 'prg=file' ``` -NOTE: this entry seems to rely on older versions of gcc for the compilation +**NOTE**: this entry seems to rely on older versions of gcc for the compilation stage and as such if you wish to see that part like it was designed you will need an older compiler perhaps gcc 2.95. diff --git a/2001/herrmann1/index.html b/2001/herrmann1/index.html index 8c1b95d18..a8dc11cd1 100644 --- a/2001/herrmann1/index.html +++ b/2001/herrmann1/index.html @@ -419,7 +419,7 @@ Location: DE - Federal Republic of Germ

For more detailed information see 2001/herrmann1 in bugs.html.

To use:

    ./herrmann1.sh 'prg=file'
-

NOTE: this entry seems to rely on older versions of gcc for the compilation +

NOTE: this entry seems to rely on older versions of gcc for the compilation stage and as such if you wish to see that part like it was designed you will need an older compiler perhaps gcc 2.95.

Try:

diff --git a/2005/mikeash/README.md b/2005/mikeash/README.md index 82a6fd91a..bf361e21a 100644 --- a/2005/mikeash/README.md +++ b/2005/mikeash/README.md @@ -20,7 +20,7 @@ For more detailed information see [2005/mikeash in bugs.html](../../bugs.html#20 ./mikeash ``` -NOTE: the author stated that they tested this under i386 machines but this works +**NOTE**: the author stated that they tested this under i386 machines but this works under 64-bit (x86_64, arm64) machines too. diff --git a/2005/mikeash/index.html b/2005/mikeash/index.html index 4a07ac029..efdbd59e0 100644 --- a/2005/mikeash/index.html +++ b/2005/mikeash/index.html @@ -418,7 +418,7 @@ Location: US - United States of America

For more detailed information see 2005/mikeash in bugs.html.

To use:

    ./mikeash
-

NOTE: the author stated that they tested this under i386 machines but this works +

NOTE: the author stated that they tested this under i386 machines but this works under 64-bit (x86_64, arm64) machines too.

Try:

    ./try.sh
diff --git a/2011/fredriksson/README.md b/2011/fredriksson/README.md index 5f48525f9..894c4e132 100644 --- a/2011/fredriksson/README.md +++ b/2011/fredriksson/README.md @@ -27,7 +27,7 @@ For more detailed information see [2011/fredriksson in bugs.html](../../bugs.htm ./try.sh ``` -NOTE: you need to be allowed to change your stack size or else the last command +**NOTE**: you need to be allowed to change your stack size or else the last command in the script would likely cause the program to dump core, which is why the script checks the exit code of `ulimit` first. diff --git a/2011/fredriksson/index.html b/2011/fredriksson/index.html index c3728bdb4..cba588ce5 100644 --- a/2011/fredriksson/index.html +++ b/2011/fredriksson/index.html @@ -420,7 +420,7 @@ Location: FI - Republic of Finland ./fredriksson [-icvtnk#] regexp < file

Try:

    ./try.sh
-

NOTE: you need to be allowed to change your stack size or else the last command +

NOTE: you need to be allowed to change your stack size or else the last command in the script would likely cause the program to dump core, which is why the script checks the exit code of ulimit first.

Judges’ remarks:

diff --git a/2011/hamaji/README.md b/2011/hamaji/README.md index 5775e6e17..fc549e3bd 100644 --- a/2011/hamaji/README.md +++ b/2011/hamaji/README.md @@ -39,7 +39,7 @@ The source code is a solution to a Paint by Numbers puzzle when you paint by C. Try your hand at solving a few of the other `.nono` files and then compare your solution with this program! -NOTE: NONOGRAM (r) is a registered Trademark and is used with permission. See +**NOTE**: NONOGRAM (r) is a registered Trademark and is used with permission. See for more information. diff --git a/2011/hamaji/index.html b/2011/hamaji/index.html index 292fc5fe7..ca2182f51 100644 --- a/2011/hamaji/index.html +++ b/2011/hamaji/index.html @@ -431,7 +431,7 @@ IOCCC was lucky to get such a fine submission!

The source code is a solution to a Paint by Numbers puzzle when you paint by C. Try your hand at solving a few of the other .nono files and then compare your solution with this program!

-

NOTE: NONOGRAM (r) is a registered Trademark and is used with permission. See +

NOTE: NONOGRAM (r) is a registered Trademark and is used with permission. See https://nonogram.com for more information.

Author’s remarks:

The format of the input files are as same as this site: diff --git a/2011/toledo/README.md b/2011/toledo/README.md index 38a28e34d..d32a15748 100644 --- a/2011/toledo/README.md +++ b/2011/toledo/README.md @@ -4,7 +4,7 @@ make ``` -NOTE: this entry requires the `X11/Xlib.h` header file and the X11 library to +**NOTE**: this entry requires the `X11/Xlib.h` header file and the X11 library to compile. For more information see the FAQ on "[X11](../../faq.html#X11)". @@ -82,7 +82,7 @@ you remove both the X11 include files and replace them with ``` you ought to be able to compile and run this program on Windows. -NOTE: this is what [toledo.alt2.c](%%REPO_URL%%/2011/toledo/toledo.alt2.c) is for. +**NOTE**: this is what [toledo.alt2.c](%%REPO_URL%%/2011/toledo/toledo.alt2.c) is for. ## Author's remarks: diff --git a/2011/toledo/index.html b/2011/toledo/index.html index bd13eba22..636692645 100644 --- a/2011/toledo/index.html +++ b/2011/toledo/index.html @@ -410,7 +410,7 @@ Location: MX - United Mexican States

To build:

    make
-

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to +

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to compile. For more information see the FAQ on “X11”.

There are two alternate versions, one that lets you reconfigure the @@ -456,7 +456,7 @@ the source early on, right before the code gets hard to follow, or using the you remove both the X11 include files and replace them with

    #include "layer.c"

you ought to be able to compile and run this program on Windows. -NOTE: this is what toledo.alt2.c is for.

+NOTE: this is what toledo.alt2.c is for.

Author’s remarks:

        /=========\\
         \==\   /==/                ||
diff --git a/2011/vik/README.md b/2011/vik/README.md
index a35f8ced1..00f888d5e 100644
--- a/2011/vik/README.md
+++ b/2011/vik/README.md
@@ -92,7 +92,7 @@ Does it take your system a long time to compile?  You may want to do:
 and examine the resulting assembly file `vik.s`.  On some platforms
 the assembly file is about 128MB in size!
 
-NOTE: The [randowan.mod](%%REPO_URL%%/2011/vik/randowan.mod) and [mad_world.mod](%%REPO_URL%%/2011/vik/mad_world.mod) files were
+**NOTE**: The [randowan.mod](%%REPO_URL%%/2011/vik/randowan.mod) and [mad_world.mod](%%REPO_URL%%/2011/vik/mad_world.mod) files were
 created by [Henrik Bertilsson](http://www.translucentboy.com) and are included
 with his permission.
 
@@ -212,7 +212,7 @@ the main declaration in order for the program to run correctly:
     _setmode(_fileno(stdout), 0x8000);
 ```
 
-NOTE: this is what the [alternate version](#alternate-code) is for.
+**NOTE**: this is what the [alternate version](#alternate-code) is for.
 
 
 ### Limitations
diff --git a/2011/vik/index.html b/2011/vik/index.html
index 2a37716cf..28719b88f 100644
--- a/2011/vik/index.html
+++ b/2011/vik/index.html
@@ -451,7 +451,7 @@ initialization for?

    cc -S vik.c

and examine the resulting assembly file vik.s. On some platforms the assembly file is about 128MB in size!

-

NOTE: The randowan.mod and mad_world.mod files were +

NOTE: The randowan.mod and mad_world.mod files were created by Henrik Bertilsson and are included with his permission.

Author’s remarks:

@@ -527,7 +527,7 @@ that the program relies on writing binary data to stdout.

the program with this platform, the following line can be added after the main declaration in order for the program to run correctly:

    _setmode(_fileno(stdout), 0x8000);
-

NOTE: this is what the alternate version is for.

+

NOTE: this is what the alternate version is for.

Limitations

The program only runs when a valid MOD file is passed as argument. If no argument is passed, the program crashes.

diff --git a/2012/dlowe/README.md b/2012/dlowe/README.md index 6ffc19dbd..7ba70547d 100644 --- a/2012/dlowe/README.md +++ b/2012/dlowe/README.md @@ -4,7 +4,7 @@ make ``` -NOTE: this entry requires the `X11/Xlib.h` header file and the X11 library to +**NOTE**: this entry requires the `X11/Xlib.h` header file and the X11 library to compile. For more information see the FAQ on "[X11](../../faq.html#X11)". diff --git a/2012/dlowe/index.html b/2012/dlowe/index.html index b9fa748a6..4dfcb5a56 100644 --- a/2012/dlowe/index.html +++ b/2012/dlowe/index.html @@ -410,7 +410,7 @@ Location: US - United States of America

To build:

    make
-

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to +

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to compile. For more information see the FAQ on “X11”.

Bugs and (Mis)features:

diff --git a/2012/omoikane/README.md b/2012/omoikane/README.md index 4f7b1156d..fef8d52cc 100644 --- a/2012/omoikane/README.md +++ b/2012/omoikane/README.md @@ -23,7 +23,7 @@ theoretically work with Windows which distinguishes binary and text. See ./output > regenerated.bin ``` -NOTE: if your OS does not have `/dev/urandom` then you should specify a seed +**NOTE**: if your OS does not have `/dev/urandom` then you should specify a seed file or use the [alternate version](#alternate-code) which reads in the compiled binary itself. diff --git a/2012/omoikane/index.html b/2012/omoikane/index.html index cc410fc24..7d58cf82c 100644 --- a/2012/omoikane/index.html +++ b/2012/omoikane/index.html @@ -423,7 +423,7 @@ theoretically work with Windows which distinguishes binary and text. See cc output.c -o output ./output > regenerated.bin
-

NOTE: if your OS does not have /dev/urandom then you should specify a seed +

NOTE: if your OS does not have /dev/urandom then you should specify a seed file or use the alternate version which reads in the compiled binary itself.

Try:

diff --git a/2012/vik/README.md b/2012/vik/README.md index 9751d1268..a2a75dd03 100644 --- a/2012/vik/README.md +++ b/2012/vik/README.md @@ -157,7 +157,7 @@ correctly: _setmode(_fileno(stdout), 0x8000); ``` -NOTE: this is what the [Alternate code](#alternate-code) does. +**NOTE**: this is what the [Alternate code](#alternate-code) does. ### Limitations diff --git a/2012/vik/index.html b/2012/vik/index.html index 2c267fcd6..8424c06da 100644 --- a/2012/vik/index.html +++ b/2012/vik/index.html @@ -490,7 +490,7 @@ compile the program on this platform, the following line can be added after the variable declarations in the main declaration in order to run correctly:

    _setmode(_fileno(stdout), 0x8000);
-

NOTE: this is what the Alternate code does.

+

NOTE: this is what the Alternate code does.

Limitations

The program doesn’t have many error checks so passing in invalid arguments or images of mismatching sizes, or unsupported pixel formats will cause the diff --git a/2012/zeitak/README.md b/2012/zeitak/README.md index afb684a90..c33a351a6 100644 --- a/2012/zeitak/README.md +++ b/2012/zeitak/README.md @@ -25,7 +25,7 @@ text files that are not code. ./try.sh ``` -NOTE: the program prints an error and exits on the first nesting error so it +**NOTE**: the program prints an error and exits on the first nesting error so it will not detect multiple issues. @@ -58,7 +58,7 @@ At one point we spent minutes](https://web.archive.org/web/20130925190722/https://twitter.com/ioccc/status/252162898800033792) just to understand _18 key **characters**_ of this code. -NOTE: if you use vim to view the code, make sure to do: +**NOTE**: if you use vim to view the code, make sure to do: ``` :set tabstop=4 diff --git a/2012/zeitak/index.html b/2012/zeitak/index.html index 1551f402b..678053fac 100644 --- a/2012/zeitak/index.html +++ b/2012/zeitak/index.html @@ -419,7 +419,7 @@ try Try:

    ./try.sh
-

NOTE: the program prints an error and exits on the first nesting error so it +

NOTE: the program prints an error and exits on the first nesting error so it will not detect multiple issues.

Alternate code:

The alternate code, zeitak.alt.c, is a version that was slightly @@ -436,7 +436,7 @@ At one point we spent 18 minutes just to understand 18 key characters of this code.

-

NOTE: if you use vim to view the code, make sure to do:

+

NOTE: if you use vim to view the code, make sure to do:

    :set tabstop=4

in command mode, before looking at the code, to see the correct layout.

For more help, see the diff --git a/2013/birken/README.md b/2013/birken/README.md index fa3c17304..cd3ec75f3 100644 --- a/2013/birken/README.md +++ b/2013/birken/README.md @@ -15,7 +15,7 @@ version see the [original code](#original-code) section below. ./birken.alt < 17_columns_wide_paint_by_numbers_file ``` -NOTE: if your terminal is messed up after running this (perhaps from exiting +**NOTE**: if your terminal is messed up after running this (perhaps from exiting before it finishes) try using `reset` to restore the terminal. This will clear the screen. diff --git a/2013/birken/index.html b/2013/birken/index.html index 136540fd8..bdf8f81bf 100644 --- a/2013/birken/index.html +++ b/2013/birken/index.html @@ -415,7 +415,7 @@ like back in 2013 (with a configurable speed). If you wish to use the original version see the original code section below.

To use:

    ./birken.alt < 17_columns_wide_paint_by_numbers_file
-

NOTE: if your terminal is messed up after running this (perhaps from exiting +

NOTE: if your terminal is messed up after running this (perhaps from exiting before it finishes) try using reset to restore the terminal. This will clear the screen.

Try:

diff --git a/2013/cable3/README.md b/2013/cable3/README.md index 4a9c7daac..773d3685b 100644 --- a/2013/cable3/README.md +++ b/2013/cable3/README.md @@ -21,7 +21,7 @@ available. See the [Alternate code](#alternate-code) section below. ./cable3.sh ``` -NOTE: to quit the program type `QUITEMU`. You might have to be at the top level +**NOTE**: to quit the program type `QUITEMU`. You might have to be at the top level directory of the drive, `A:` or `C:`. To send an `Alt+XXX` key combination, press (`^A` / `Ctrl+A`) then the key, so @@ -67,7 +67,7 @@ If you are using macOS, the included [sc-ioccc.terminal](%%REPO_URL%%/2013/cable configuration file will correctly display console applications that use ANSI graphics. -NOTE: the author remarked that in some systems one might need to `#include +**NOTE**: the author remarked that in some systems one might need to `#include `. This has been done in the entry but not the alternate version. This should not affect the usability of the program but will trigger a warning which we have disabled in the Makefile. @@ -177,7 +177,7 @@ entry to the Preprocessor Definitions list in the Project Properties page: KB=(kb=H(8),kbhit())&&(r[1190]=getch(),H(7)) ``` -NOTE: this is done in the [Alternate code](#alternate-code). +**NOTE**: this is done in the [Alternate code](#alternate-code). ### POSIX portability note @@ -193,7 +193,7 @@ include to the top of the source: #include ``` -NOTE: this has been done in [cable3.c](%%REPO_URL%%/2013/cable3/cable3.c). +**NOTE**: this has been done in [cable3.c](%%REPO_URL%%/2013/cable3/cable3.c). ### Usage diff --git a/2013/cable3/index.html b/2013/cable3/index.html index a18f67630..35ac53b36 100644 --- a/2013/cable3/index.html +++ b/2013/cable3/index.html @@ -416,7 +416,7 @@ available. See the Alternate code section below. ./cable3 bios-image-file floppy-image-file [harddisk-image-file]

Try:

    ./cable3.sh
-

NOTE: to quit the program type QUITEMU. You might have to be at the top level +

NOTE: to quit the program type QUITEMU. You might have to be at the top level directory of the drive, A: or C:.

To send an Alt+XXX key combination, press (^A / Ctrl+A) then the key, so for example to type Alt+F, press (^A / Ctrl+A) then F.

@@ -441,7 +441,7 @@ transistors used to implement the original 8086 CPU.

If you are using macOS, the included sc-ioccc.terminal configuration file will correctly display console applications that use ANSI graphics.

-

NOTE: the author remarked that in some systems one might need to #include <unistd.h>. This has been done in the entry but not the alternate version. This +

NOTE: the author remarked that in some systems one might need to #include <unistd.h>. This has been done in the entry but not the alternate version. This should not affect the usability of the program but will trigger a warning which we have disabled in the Makefile.

Update: This entry now has its own website: @@ -533,7 +533,7 @@ non-UNIX platforms. For example, for Windows/MS Visual Studio, instead of the Makefile definition of KB, use something slightly different - add the following entry to the Preprocessor Definitions list in the Project Properties page:

    KB=(kb=H(8),kbhit())&&(r[1190]=getch(),H(7))
-

NOTE: this is done in the Alternate code.

+

NOTE: this is done in the Alternate code.

POSIX portability note

The code as supplied uses implicit function declarations for POSIX file I/O and in doing so assumes that file offsets are the same bit width as your @@ -542,7 +542,7 @@ offsets) this is not the case, and to run successfully on these systems, you will need to explicitly declare these functions by adding the appropriate include to the top of the source:

    #include <unistd.h>
-

NOTE: this has been done in cable3.c.

+

NOTE: this has been done in cable3.c.

Usage

    ./cable3 bios-image-file floppy-image-file [harddisk-image-file]

PLEASE NOTE that under Unices the keyboard must be in raw mode for the emulator diff --git a/2013/dlowe/README.md b/2013/dlowe/README.md index cae758964..48f2c8467 100644 --- a/2013/dlowe/README.md +++ b/2013/dlowe/README.md @@ -86,7 +86,7 @@ and with Apple clang version 15.0.0 (clang-1500.0.40.1) in 2023, we get: Which one is correct? :) -NOTE: `make all` will compile [fun.c](%%REPO_URL%%/2013/dlowe/fun.c) but to provide a different compiler +**NOTE**: `make all` will compile [fun.c](%%REPO_URL%%/2013/dlowe/fun.c) but to provide a different compiler you can do something like: ``` @@ -111,7 +111,7 @@ A tiny implementation of command-line sparkline of file sizes: ▁▁▁▃▃▂▁▂▁▁▉ ``` -NOTE: this has been provided in [slflen.sh](%%REPO_URL%%/2013/dlowe/slflen.sh) so you can try: +**NOTE**: this has been provided in [slflen.sh](%%REPO_URL%%/2013/dlowe/slflen.sh) so you can try: ``` ./slflen.sh diff --git a/2013/dlowe/index.html b/2013/dlowe/index.html index 50fb34cff..b71f36952 100644 --- a/2013/dlowe/index.html +++ b/2013/dlowe/index.html @@ -446,7 +446,7 @@ with one argument or when all arguments are equal?

and with Apple clang version 15.0.0 (clang-1500.0.40.1) in 2023, we get:

    1840985120 -2033041452 35979112

Which one is correct? :)

-

NOTE: make all will compile fun.c but to provide a different compiler +

NOTE: make all will compile fun.c but to provide a different compiler you can do something like:

    make CC=clang fun

Author’s remarks:

@@ -459,7 +459,7 @@ you can do something like:

$ echo "sparkline of file lengths: $(wc -c * | awk '{print $1}' | xargs ./sparkl)" sparkline of file sizes: ▁▁▁▃▃▂▁▂▁▁▉ -

NOTE: this has been provided in slflen.sh so you can try:

+

NOTE: this has been provided in slflen.sh so you can try:

    ./slflen.sh

instead (which try.sh also uses).

Description

diff --git a/2013/hou/README.md b/2013/hou/README.md index f7e3ab192..116ec6cf6 100644 --- a/2013/hou/README.md +++ b/2013/hou/README.md @@ -63,7 +63,7 @@ program. This program will loop infinitely while progressively refining a [raytraced](https://en.wikipedia.org/wiki/Ray_tracing_(graphics)) image. -NOTE: the author refers to `a.c`, placed in a gzipped file `a.c.gz`. We do not +**NOTE**: the author refers to `a.c`, placed in a gzipped file `a.c.gz`. We do not include it but it can be generated like: ``` diff --git a/2013/hou/index.html b/2013/hou/index.html index 4ac77ff1d..d3f7905fd 100644 --- a/2013/hou/index.html +++ b/2013/hou/index.html @@ -446,7 +446,7 @@ really just a decompressor to generate the real source code of the program.

This program will loop infinitely while progressively refining a raytraced image.

-

NOTE: the author refers to a.c, placed in a gzipped file a.c.gz. We do not +

NOTE: the author refers to a.c, placed in a gzipped file a.c.gz. We do not include it but it can be generated like:

    make a.c

There is no longer a need to do this as the Makefile takes care of it without diff --git a/2013/misaka/README.md b/2013/misaka/README.md index ab61a1412..96eec8fec 100644 --- a/2013/misaka/README.md +++ b/2013/misaka/README.md @@ -30,7 +30,7 @@ Also try: ./try.sh ``` -NOTE: Use - for standard input. For example: +**NOTE**: Use - for standard input. For example: ``` ./vertical_cat - - diff --git a/2013/misaka/index.html b/2013/misaka/index.html index d00dec829..51ef7c1db 100644 --- a/2013/misaka/index.html +++ b/2013/misaka/index.html @@ -420,7 +420,7 @@ information on all of these builds.

    make understanding

Also try:

    ./try.sh
-

NOTE: Use - for standard input. For example:

+

NOTE: Use - for standard input. For example:

    ./vertical_cat - -

Judges’ remarks:

There is more to cat than mere cats. Be diff --git a/2013/morgan1/README.md b/2013/morgan1/README.md index eb864ab4c..8254fce24 100644 --- a/2013/morgan1/README.md +++ b/2013/morgan1/README.md @@ -4,7 +4,7 @@ make ``` -NOTE: this entry requires the `X11/Xlib.h` header file and the X11 library to +**NOTE**: this entry requires the `X11/Xlib.h` header file and the X11 library to compile. For more information see the FAQ on "[X11](../../faq.html#X11)". diff --git a/2013/morgan1/index.html b/2013/morgan1/index.html index 87c61ff64..73727ed72 100644 --- a/2013/morgan1/index.html +++ b/2013/morgan1/index.html @@ -410,7 +410,7 @@ Location: FR - French Republic (

To build:

    make
-

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to +

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to compile. For more information see the FAQ on “X11”.

To use:

diff --git a/2013/morgan2/README.md b/2013/morgan2/README.md index 2a2d2c5a2..b3186f58f 100644 --- a/2013/morgan2/README.md +++ b/2013/morgan2/README.md @@ -4,7 +4,7 @@ make ``` -NOTE: this entry requires the `X11/Xlib.h` header file and the X11 library to +**NOTE**: this entry requires the `X11/Xlib.h` header file and the X11 library to compile. For more information see the FAQ on "[X11](../../faq.html#X11)". diff --git a/2013/morgan2/index.html b/2013/morgan2/index.html index 881ef0bcf..5c4dc7a36 100644 --- a/2013/morgan2/index.html +++ b/2013/morgan2/index.html @@ -410,7 +410,7 @@ Location: FR - French Republic (

To build:

    make
-

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to +

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to compile. For more information see the FAQ on “X11”.

To use:

diff --git a/2014/maffiodo1/README.md b/2014/maffiodo1/README.md index 33b4b5fee..2df632a8c 100644 --- a/2014/maffiodo1/README.md +++ b/2014/maffiodo1/README.md @@ -72,7 +72,7 @@ If you wish to change the width and height, defaulting at 640 x 480, say to A classic for a particular generation. Like all good programs, being data driven means you can do fun things in small spaces. -NOTE: the author states to use `tabsize=4` to see the magic of the formatting of +**NOTE**: the author states to use `tabsize=4` to see the magic of the formatting of the code. In `vim` you can do: ``` diff --git a/2014/maffiodo1/index.html b/2014/maffiodo1/index.html index 69308218d..0addff859 100644 --- a/2014/maffiodo1/index.html +++ b/2014/maffiodo1/index.html @@ -452,7 +452,7 @@ try:

Judges’ remarks:

A classic for a particular generation. Like all good programs, being data driven means you can do fun things in small spaces.

-

NOTE: the author states to use tabsize=4 to see the magic of the formatting of +

NOTE: the author states to use tabsize=4 to see the magic of the formatting of the code. In vim you can do:

    :set tabstop=4

in command mode to see this effect. You don’t need to modify your .vimrc file! diff --git a/2014/vik/README.md b/2014/vik/README.md index 110667d41..7b4d74edc 100644 --- a/2014/vik/README.md +++ b/2014/vik/README.md @@ -108,7 +108,7 @@ any code in order for the program to run correctly: _setmode(_fileno(stdout), 0x8000); ``` -NOTE: see the [alternate code](%%REPO_URL%%/2014/vik/prog.alt.c) for this. +**NOTE**: see the [alternate code](%%REPO_URL%%/2014/vik/prog.alt.c) for this. ### Known Issues diff --git a/2014/vik/index.html b/2014/vik/index.html index 2e3f6df83..1d3caa7a5 100644 --- a/2014/vik/index.html +++ b/2014/vik/index.html @@ -458,7 +458,7 @@ the program relies on writing binary data to stdout.

program with this platform, the following line can be added to main() before any code in order for the program to run correctly:

    _setmode(_fileno(stdout), 0x8000);
-

NOTE: see the alternate code for this.

+

NOTE: see the alternate code for this.

Known Issues

The program uses a quite simple algorithm for detecting tone on and off events in the Morse signal. Hence the program does not work well with noisy input diff --git a/2015/dogon/README.md b/2015/dogon/README.md index e534597e2..3f20d6f29 100644 --- a/2015/dogon/README.md +++ b/2015/dogon/README.md @@ -4,7 +4,7 @@ make ``` -NOTE: this entry requires the `X11/Xlib.h` header file and the X11 library to +**NOTE**: this entry requires the `X11/Xlib.h` header file and the X11 library to compile. For more information see the FAQ on "[X11](../../faq.html#X11)". diff --git a/2015/dogon/index.html b/2015/dogon/index.html index 14eb7409a..a11658587 100644 --- a/2015/dogon/index.html +++ b/2015/dogon/index.html @@ -410,7 +410,7 @@ Location: IL - State of Israel (

To build:

    make
-

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to +

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to compile. For more information see the FAQ on “X11”.

To change the dimensions you can use the WIDTH and HEIGHT variables when diff --git a/2015/endoh1/README.md b/2015/endoh1/README.md index 8d1f6e24a..c0f260b98 100644 --- a/2015/endoh1/README.md +++ b/2015/endoh1/README.md @@ -4,7 +4,7 @@ make ``` -NOTE: this program requires the tool `tcpserver` to use. If you do not have this +**NOTE**: this program requires the tool `tcpserver` to use. If you do not have this program see the FAQ on "[tcpserver](../../faq.html#tcpserver)". diff --git a/2015/endoh1/index.html b/2015/endoh1/index.html index 5f915472b..fde1715d7 100644 --- a/2015/endoh1/index.html +++ b/2015/endoh1/index.html @@ -415,7 +415,7 @@ Location: JP - Japan

To build:

    make
-

NOTE: this program requires the tool tcpserver to use. If you do not have this +

NOTE: this program requires the tool tcpserver to use. If you do not have this program see the FAQ on “tcpserver”.

To use:

diff --git a/2015/howe/README.md b/2015/howe/README.md index a3c55c802..89074c06a 100644 --- a/2015/howe/README.md +++ b/2015/howe/README.md @@ -83,7 +83,7 @@ Or should we teach our youth to understand the intricacies of this code? Ying Tong Iddle I Po! We suggest you read the source for yourself, which might be easier than the academic papers it was inspired by. -NOTE: Unlike the original entry source, [prog.alt.c](%%REPO_URL%%/2015/howe/prog.alt.c), +**NOTE**: Unlike the original entry source, [prog.alt.c](%%REPO_URL%%/2015/howe/prog.alt.c), [prog.c](%%REPO_URL%%/2015/howe/prog.c) uses a 64 bit FNV hash and fixes a function call warning. diff --git a/2015/howe/index.html b/2015/howe/index.html index 0220c12b9..23864fdcf 100644 --- a/2015/howe/index.html +++ b/2015/howe/index.html @@ -452,7 +452,7 @@ during a South Park P.T.A. Meeting?

Or should we teach our youth to understand the intricacies of this code? Ying Tong Iddle I Po! We suggest you read the source for yourself, which might be easier than the academic papers it was inspired by.

-

NOTE: Unlike the original entry source, prog.alt.c, +

NOTE: Unlike the original entry source, prog.alt.c, prog.c uses a 64 bit FNV hash and fixes a function call warning.

Author’s remarks:

diff --git a/2015/schweikhardt/README.md b/2015/schweikhardt/README.md index 5cfe8592e..0b5ce78ee 100644 --- a/2015/schweikhardt/README.md +++ b/2015/schweikhardt/README.md @@ -22,7 +22,7 @@ For more detailed information see [2015/schweikhardt in bugs.html](../../bugs.ht where `n` is a base 16 number of any size. -NOTE: although it's supposed to be a base 16 number nothing will stop you from +**NOTE**: although it's supposed to be a base 16 number nothing will stop you from doing something else. The author explains this in more details. @@ -83,7 +83,7 @@ You may explore this famous conjecture using this entry: ./prog 302ab3d052fb87c06228d249581be0e4 ``` -NOTE: [try.sh](%%REPO_URL%%/2015/schweikhardt/try.sh) runs these for you, filtered through `less(1)`. +**NOTE**: [try.sh](%%REPO_URL%%/2015/schweikhardt/try.sh) runs these for you, filtered through `less(1)`. When you first look at the source, the code looks fairly straightforward. But look again. Like the Collatz conjecture, simplicity is deceptive! diff --git a/2015/schweikhardt/index.html b/2015/schweikhardt/index.html index 26e21d39b..e359441c7 100644 --- a/2015/schweikhardt/index.html +++ b/2015/schweikhardt/index.html @@ -419,7 +419,7 @@ Location: DE - Federal Republic of Germ

To use:

    ./prog n

where n is a base 16 number of any size.

-

NOTE: although it’s supposed to be a base 16 number nothing will stop you from +

NOTE: although it’s supposed to be a base 16 number nothing will stop you from doing something else. The author explains this in more details.

Try:

    ./try.sh
@@ -454,7 +454,7 @@ the Collatz conjectur ./prog 1b7dd73a937485bf ./prog 7d3237680d190a77e53751b ./prog 302ab3d052fb87c06228d249581be0e4 -

NOTE: try.sh runs these for you, filtered through less(1).

+

NOTE: try.sh runs these for you, filtered through less(1).

When you first look at the source, the code looks fairly straightforward. But look again. Like the Collatz conjecture, simplicity is deceptive! Oh, and the variable names? They are not simple single letter variables, diff --git a/2015/yang/README.md b/2015/yang/README.md index 338f2fd4e..698b5c620 100644 --- a/2015/yang/README.md +++ b/2015/yang/README.md @@ -27,7 +27,7 @@ this entry uses to tell the 5 languages/flavors apart. Can you find all four? The way the text is encoded in the output doesn't cease to amaze. Can you tell why an array of 512 elements is needed? -NOTE: the author calls the program `Fuuko` and so the source file referred to in +**NOTE**: the author calls the program `Fuuko` and so the source file referred to in their remarks uses `fuuko.c`. The [Makefile](%%REPO_URL%%/2015/yang/Makefile) will compile everything so you need not worry about this. diff --git a/2015/yang/index.html b/2015/yang/index.html index 36b0294d7..73ebeb162 100644 --- a/2015/yang/index.html +++ b/2015/yang/index.html @@ -419,7 +419,7 @@ Location: US - United States of America this entry uses to tell the 5 languages/flavors apart. Can you find all four?

The way the text is encoded in the output doesn’t cease to amaze. Can you tell why an array of 512 elements is needed?

-

NOTE: the author calls the program Fuuko and so the source file referred to in +

NOTE: the author calls the program Fuuko and so the source file referred to in their remarks uses fuuko.c. The Makefile will compile everything so you need not worry about this.

Author’s remarks:

diff --git a/2018/bellard/README.md b/2018/bellard/README.md index 60fab4f94..c20aac015 100644 --- a/2018/bellard/README.md +++ b/2018/bellard/README.md @@ -25,14 +25,14 @@ graphics viewer of choice. After that try: ./try.sh ``` -NOTE: the script uses the tools `pngtopam(1)` (or `pngtopnm(1)` for older +**NOTE**: the script uses the tools `pngtopam(1)` (or `pngtopnm(1)` for older versions) and `pnmscale` come from the netpbm project and `cjpeg(1)` comes from `libjpeg-turbo`. If you don't have these tools already see the FAQ on "[netpbm](../../faq.html#netpbm)" and the FAQ on "[libjpeg-turbo](../../faq.html#libjpeg)". -NOTE: [Lenna.png](Lenna.png) is from +**NOTE**: [Lenna.png](Lenna.png) is from . diff --git a/2018/bellard/index.html b/2018/bellard/index.html index 95dc49da9..6b12a3a59 100644 --- a/2018/bellard/index.html +++ b/2018/bellard/index.html @@ -419,13 +419,13 @@ code below.

running the above command (./prog > lena.ppm), open lena.ppm in your graphics viewer of choice. After that try:

    ./try.sh
-

NOTE: the script uses the tools pngtopam(1) (or pngtopnm(1) for older +

NOTE: the script uses the tools pngtopam(1) (or pngtopnm(1) for older versions) and pnmscale come from the netpbm project and cjpeg(1) comes from libjpeg-turbo. If you don’t have these tools already see the FAQ on “netpbm” and the FAQ on “libjpeg-turbo”.

-

NOTE: Lenna.png is from +

NOTE: Lenna.png is from https://upload.wikimedia.org/wikipedia/en/7/7d/Lenna_%28test_image%29.png.

Alternate code:

The prog.alt.c is based on the author’s remarks and it should work diff --git a/2018/burton2/README.md b/2018/burton2/README.md index 3dd6e6b26..aef410814 100644 --- a/2018/burton2/README.md +++ b/2018/burton2/README.md @@ -417,7 +417,7 @@ Try: ./manpage.sh -h | ./manpage.sh -P | lpr ``` -NOTE: in 2023 the `tac.man` was updated to proper man format and renamed +**NOTE**: in 2023 the `tac.man` was updated to proper man format and renamed [tac.1](%%REPO_URL%%/2018/burton2/tac.1).

To build:

    make
-

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to +

NOTE: this entry requires the X11/Xlib.h header file and the X11 library to compile. For more information see the FAQ on “X11”.

Bugs and (Mis)features:

diff --git a/2019/duble/README.md b/2019/duble/README.md index 3b1fc16db..fa63317da 100644 --- a/2019/duble/README.md +++ b/2019/duble/README.md @@ -82,7 +82,7 @@ will have to be killed from another shell session or by closing the terminal tab in the beginning this will also happen. This is discussed in [2019/duble in bugs.html](../../bugs.html#2019_duble). -NOTE: this entry might leave sockets lying about in the current working +**NOTE**: this entry might leave sockets lying about in the current working directory which you'll have to delete manually. This is also discussed in [2019/duble in bugs.html](../../bugs.html#2019_duble). diff --git a/2019/duble/index.html b/2019/duble/index.html index c11189541..b310ed601 100644 --- a/2019/duble/index.html +++ b/2019/duble/index.html @@ -451,7 +451,7 @@ will have to be killed from another shell session or by closing the terminal tab (in other words don’t do this from the console!). If the file cannot be opened in the beginning this will also happen. This is discussed in 2019/duble in bugs.html.

-

NOTE: this entry might leave sockets lying about in the current working +

NOTE: this entry might leave sockets lying about in the current working directory which you’ll have to delete manually. This is also discussed in 2019/duble in bugs.html.

Alternate code:

diff --git a/2019/endoh/README.md b/2019/endoh/README.md index b16557b48..315ae5f69 100644 --- a/2019/endoh/README.md +++ b/2019/endoh/README.md @@ -4,7 +4,7 @@ make ``` -NOTE: the use of the C compiler optimiser was disabled and `-g` was enabled for +**NOTE**: the use of the C compiler optimiser was disabled and `-g` was enabled for this entry because it is SUPPOSED to crash and it needs debugging symbols. diff --git a/2019/endoh/index.html b/2019/endoh/index.html index d187d1900..de491c142 100644 --- a/2019/endoh/index.html +++ b/2019/endoh/index.html @@ -410,7 +410,7 @@ Location: JP - Japan

To build:

    make
-

NOTE: the use of the C compiler optimiser was disabled and -g was enabled for +

NOTE: the use of the C compiler optimiser was disabled and -g was enabled for this entry because it is SUPPOSED to crash and it needs debugging symbols.

Bugs and (Mis)features:

The current status of this entry is:

diff --git a/2019/giles/README.md b/2019/giles/README.md index a8acbec3e..ec6f138ad 100644 --- a/2019/giles/README.md +++ b/2019/giles/README.md @@ -19,7 +19,7 @@ ``` -NOTE: `play`, which [try.sh](%%REPO_URL%%/2019/giles/try.sh) uses, comes from SoX, the Swiss Army Knife +**NOTE**: `play`, which [try.sh](%%REPO_URL%%/2019/giles/try.sh) uses, comes from SoX, the Swiss Army Knife of sound processing programs. If you don't have this installed, see the FAQ on "[SDL1 and SDL2](../../faq.html#sox)". diff --git a/2019/giles/index.html b/2019/giles/index.html index 098607110..4d7b7e374 100644 --- a/2019/giles/index.html +++ b/2019/giles/index.html @@ -414,7 +414,7 @@ Location: AU - Commonwealth of Australi
    ./prog infile.wav outfile.wav

Try:

    ./try.sh
-

NOTE: play, which try.sh uses, comes from SoX, the Swiss Army Knife +

NOTE: play, which try.sh uses, comes from SoX, the Swiss Army Knife of sound processing programs. If you don’t have this installed, see the FAQ on “SDL1 and SDL2”.

Judges’ remarks:

diff --git a/2019/karns/README.md b/2019/karns/README.md index 0b9a5f339..e2b49e9b2 100644 --- a/2019/karns/README.md +++ b/2019/karns/README.md @@ -4,7 +4,7 @@ make ``` -NOTE: we disable the optimiser because this program has problems with it +**NOTE**: we disable the optimiser because this program has problems with it enabled. diff --git a/2019/karns/index.html b/2019/karns/index.html index d27f3819f..c40b22ed3 100644 --- a/2019/karns/index.html +++ b/2019/karns/index.html @@ -410,7 +410,7 @@ Location: US - United States of America

To build:

    make
-

NOTE: we disable the optimiser because this program has problems with it +

NOTE: we disable the optimiser because this program has problems with it enabled.

Bugs and (Mis)features:

The current status of this entry is:

diff --git a/2019/poikola/README.md b/2019/poikola/README.md index 1bf7199a3..55777378a 100644 --- a/2019/poikola/README.md +++ b/2019/poikola/README.md @@ -7,7 +7,7 @@ There is an alternate version of this program which changes the way the output is displayed. See [Alternate code](#alternate-code) below. -NOTE: we disable the optimiser because the author stated that for GCC optimiser +**NOTE**: we disable the optimiser because the author stated that for GCC optimiser level 0 gave correct output. With clang `[0123s]` works which suggests that [123s] might or might not work with GCC. Likewise, we do similar for the standard, forcing `-std=gnu11`. diff --git a/2019/poikola/index.html b/2019/poikola/index.html index 501232e4a..9f0a1d8a1 100644 --- a/2019/poikola/index.html +++ b/2019/poikola/index.html @@ -412,7 +412,7 @@ Location: FI - Republic of Finland make

There is an alternate version of this program which changes the way the output is displayed. See Alternate code below.

-

NOTE: we disable the optimiser because the author stated that for GCC optimiser +

NOTE: we disable the optimiser because the author stated that for GCC optimiser level 0 gave correct output. With clang [0123s] works which suggests that [123s] might or might not work with GCC. Likewise, we do similar for the standard, forcing -std=gnu11.

diff --git a/2020/giles/README.md b/2020/giles/README.md index bff37a711..752d9b90a 100644 --- a/2020/giles/README.md +++ b/2020/giles/README.md @@ -46,7 +46,7 @@ In this case install it and try it again or play the files `jenny.wav` and `ioccc28.wav` in a program that can play WAV files. -NOTE: the phone number of `jenny.wav` comes from +**NOTE**: the phone number of `jenny.wav` comes from . diff --git a/2020/giles/index.html b/2020/giles/index.html index 5f5aea251..18c3eec71 100644 --- a/2020/giles/index.html +++ b/2020/giles/index.html @@ -437,7 +437,7 @@ FAQ on “using entries that require sound”. In this case install it and try it again or play the files jenny.wav and ioccc28.wav in a program that can play WAV files.

-

NOTE: the phone number of jenny.wav comes from +

NOTE: the phone number of jenny.wav comes from https://en.wikipedia.org/wiki/867-5309/Jenny.

Judges’ remarks:

A cross platform utility for both encoding and decoding touch tones.

diff --git a/2020/kurdyukov2/README.md b/2020/kurdyukov2/README.md index d62186e70..ebe6e8d14 100644 --- a/2020/kurdyukov2/README.md +++ b/2020/kurdyukov2/README.md @@ -143,7 +143,7 @@ For instance after running the command suggested by the judges: convert -delay 10 -dither none -loop 0 $(find . -maxdepth 1 -type f -name '*jpg' | sort -V) $(find . -maxdepth 1 -type f -name '*jpg' | sort -rV) +map out.gif ``` -NOTE: the above is done in the [try.sh](%%REPO_URL%%/2020/kurdyukov2/try.sh) script. +**NOTE**: the above is done in the [try.sh](%%REPO_URL%%/2020/kurdyukov2/try.sh) script. Also provided `makegif.sh` to aid with GIF creation. diff --git a/2020/kurdyukov2/index.html b/2020/kurdyukov2/index.html index b8feeb0d5..480d28d0b 100644 --- a/2020/kurdyukov2/index.html +++ b/2020/kurdyukov2/index.html @@ -475,7 +475,7 @@ vertically to get the minimum difference.

You can use this command to make a GIF from output images (uses ImageMagick). For instance after running the command suggested by the judges:

    convert -delay 10 -dither none -loop 0 $(find . -maxdepth 1 -type f -name '*jpg' | sort -V) $(find . -maxdepth 1 -type f -name '*jpg' | sort -rV) +map out.gif
-

NOTE: the above is done in the try.sh script.

+

NOTE: the above is done in the try.sh script.

Also provided makegif.sh to aid with GIF creation.