Files
ioccc/1985/sicherman
Cody Boone Ferguson af5482825c Reorganise menus
The sections have been modified a fair amount. The Entries menu has been
extended to have: Fixing entries, Updating author info, Thanks for the
help. The first two were moved from FAQ and the last one from About.
The rationale for these, in order: entries and authors have to do with
entries and most of the help involves entries. It also has to do with
website but in 'about' it does not seem the right place, unless maybe it
is renamed to 'Credits' or something (I am not suggesting this one way
or the other). This one is debatable but that was the rationale.

The Status menu has been extended to have: Markdown guidelines and
Security policy. The rationale is that the markdown guidelines are part
of contest guidelines and the security policy is about the status of the
entries and how if there are any security problems they will not be
addressed (instead of about the IOCCC).

The FAQ was extended to have: Compiling entries, Running entries, How to
help. The reason to not have compiling and running entries under Entries
is because this is 'how to' and also the menu was too long. How to help
seems like a good idea under FAQ too (was in About).

About was extended to have the new 'about.html' page (from about.md).
This is a rare case where a new file is useful as it fits under 'About'.
The menu now is: Home page, About the IOCCC, The Judges, Contact us. I
was pondering the 'About [the IOCCC]' at the top and also naming it
'About us' but it seemed like a link to index.html was necessary and as
for 'about us' it seemed less clear as to whether it was about the
judges or the contest itself. The FAQ has been updated slightly for
this.

After further inspection the bin/index.html and the inc/index.html links
were removed from the about section.

With these changes, renaming an item or slight reordering
notwithstanding, I believe that #2006 is probably in good shape.
2024-10-25 11:23:21 -07:00
..
2024-10-25 11:23:21 -07:00
2024-07-19 00:18:41 -07:00
2024-03-11 09:09:21 -07:00

To build:

    make all

There is another version that can be compiled in case the first fails. See Alternate code below for more details on it.

To use:

    ./sicherman < file

    echo foo | ./sicherman

    ./sicherman
    # type or paste some text, making sure to hit enter after each line typed

Try:

    ./try.sh

Alternate code:

The sicherman.alt.c is a slight change in the fixed version (fixed so it does not require -traditional-cpp) in that it has two args to main() as some compilers object to certain number of args in main().

Alternate build:

    make alt

Alternate use:

    ./sicherman.alt < file

Alternate try:

    ./try.alt.sh

Judges' remarks:

This program abuses the C preprocessor so much that some cpps fail to strip out all of the comments on the first pass! If you were able to understand Dave Decot's entry in 1984, you will have a head start on this one.

Be sure to run this program through lint! If your lint works correctly, it should warn you that the argument 'Manual' isn't used. Like the program says, what's that mean?

Run the program without arguments and enter the letters 'a' through 'm' on a line. Now enter the letters 'n' through 'z'. But to borrow a quote from Richard Stallman: If you think you understand what this code does, then you don't, so read it again! Explain why:

    ./sicherman < sicherman.c | ./sicherman | diff - ./sicherman.c

results in diff reporting a difference on some machines.

Author's remarks:

No remarks were provided by the author.