Prepare for the winners of **IOCCC28**. > However these are not the 2024 droids you are looking for. :-) The HTML menu (both JavaScript and non-JavaScript) has been updated. The `Status -> Rules and guidelines' have been replaced with two separate menus `Status -> IOCCC rules` and `Status -> IOCCC guidelines`. Added a new top level `social.html` page: built from a new `social.md`. Sorted rules for building specific web pages in the top level `Makefile`. Added `make social` to make the `social.html` page from `social.md`. The `bin/gen-top-html.sh` now is able to process a argument of **social** to process the new top level `social.html` page. Changed `bin/gen-top-html.sh` VERSION from "2.0.0 2025-03-13" to "2.0.1 2025-07-25". Below `About -> Home page` a new `About -> IOCCC social media` menu item as added. Because the menu change touched every HTML file, we changed the general copyright date range for HTML files from "1984-2024" to "1984-2025" due to the extensive changes made for **IOCCC28**. Those markdown files that were modified in 2025 had their copyright date range also changed from "1984-2024" to "1984-2025". Rebuilt tarballs and sitemap due to the extensive HTML rebuilding. Ran `make update` to perform the above.
To build:
make
To use:
./litmaath some text
There is an alternate version provided. See the Alternate code section below.
Try:
./litmaath eschew obfuscation
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:
make alt
Use litmaath.alt as you would litmaath above.
Alternate try:
./litmaath.alt six was afraid of seven because seven eight nine
Judges' remarks:
Note the unusual structure:
while (<condition>)
;
Did you notice that the body is empty?
Furthermore, it's interesting to note that only two variables are used to achieve everything.
The best one can do to understand how the program works is to give it
two small strings as arguments, and follow the program closely. One
could make the body of the while loop an fprintf with interesting
variables like:
fprintf(stderr,
"argv=%lo *argv=%lo **argv=%c argv[1]=%lo *argv[1]=%c argc=%d\n",
(long) argv, (long) *argv, *argv && **argv ? **argv : '@',
(long) argv[1], argv[1] && *argv[1] ? *argv[1] : '@', argc);
... which is what the alternate code is.
Author's remarks:
No remarks were provided by the author.