Files
ioccc/1985/august
Landon Curt Noll a956c3d1e5 improve entry index.html navbar links
We improve entry `index.html` navbar links by allowing the
next and previous to link across years.

The `make genpath` now forms `.allyear`, which is a
sorted contamination of all YYY level `.year` files.

Updated `make help` to reflect the  `make genpath` functionality.

Updated FAQ 6.8 to talk about the `.allyear` file.
Fixed links to `.top` and `.allyear' to refer to GitHub.

Changed `bin/subst.entry-navbar.awk` VERSION from "1.2 2024-03-02"
to "1.3 2024-08-02".

Changed `bin/subst.entry-index.sh` VERSION from "1.3.5 2024-08-05"
to "1.4 2024-08-09".

Performed `make www` to accomplish the above and to test under macOS.
2024-08-09 03:23:16 -07:00
..
2023-07-06 21:49:38 -07:00

To build:

    make all

To use:

    ./august

Try:

    ./try.sh

If you have the primes(6) tool (sometimes part of BSD Games) you can see what of the output in the first N (say 15 or 25) lines are primes:

    ./primes.sh # 15
    ./primes.sh 25

Note that try.sh will run this script anyway, telling you where to get primes(6) if you don't have it installed, but it will only run with the default value of 15, rather than trying several different values.

Judges' remarks:

An interesting use of a recursive call to main(). Compile and execute without args. What is the initial value of b? Does it alter the action of the program?

If you let it, the program will continue to print a numerical sequence (can you guess in what base it is printed by looking at the code?) until you run out of memory or until they sell your computer, whichever comes first.

If you use the primes.sh script can you figure out if there's anything funny going on with the output?

Author's remarks:

No remarks were provided by the author.