Files
ioccc/1990/stig
Landon Curt Noll cc73503c10 add experimental rules to build web site
We add to the top level Makefile, some initial rules that
will facilitate the building of HTML content.

The `bin/md2html.sh` tool as been updated to output HTML comments
about the output during HTML phases 20, 21 and 22.

All entry `index.html` files were updated with some additional HTML
comments as a result of the above.  The top level `location.html`,
`years.html` and `authors.html` have had HTML comments added also
a result.

Sorry (tm Canada 🇨🇦) for the mass update of entry `index.html` files.
Hopefully the times when all of them (often) need to be updated
will soon draw to a close.
2024-02-12 15:11:56 -08:00
..
2024-02-01 14:35:49 -08:00
2023-12-26 09:00:03 -08:00
2023-02-13 01:20:57 -08:00
2023-07-06 21:49:38 -07:00
2023-02-13 01:20:57 -08:00

To build:

make all

To use:

make all

NOTE: that's not a typo or mistake but one can also do:

./o

Judges' remarks:

We changed the alias that the author's suggested alias from a C-shell alias to a Bourne-like shell alias.

Note that shst.c is renamed to stig.c in the distribution.

WARNING: This program's how to compile is too specific to a particular shell. The obfuscation of this program is more related to shell obfuscation than C obfuscation. This type of entry will not be permitted in future contests.

Author's remarks:

If you like shell programming you may also admire my creative quoting. (I use echo to create an alias which when run calls cc with the -D option to create a C macro with double quotes in it. ARRRRRGGGHHH!)

The program is totally portable, but the compile commands are very shell specific so don't be TOO mad at me if they don't work for you.

If you want to put these commands in a Makefile you must add 4 - four - backslashes at the end on first line. (At least that's what works here.)

If everything works correctly it create an executable named o which checks whether your compiler supports nested comments. I've stolen the "/*/*/0*/**/1" from somewhere so don't give me any points for it. Of course neither ANSI nor K&R support nested comments when properly implemented, but what the heck.

This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. You are free to share and adapt this file under the terms of this license:

Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)

For more information, see: https://creativecommons.org/licenses/by-sa/4.0/