Files
ioccc/2014/endoh1
Landon Curt Noll d414b6d71f add quick-readme2index.sh, improve all-run.sh and readme2index.sh
Improved `all-run.sh` and `readme2index.sh` so that
certain command line options (e.g., -p, -P, -u, -U ...)
are only passed along to other tools if they are
given on the command line.

all-run.sh VERSION changed from "1.1.1 2024-01-19"
to "1.1.2 2024-01-20",

readme2index.sh VERSION changed from "1.1 2024-01-16"
to "1.1.1 2024-01-20".

Added `quick-readme2index.sh` that only calls
`readme2index.sh` if the `index.html` is not
a non-empty file, or of either `.winner.json`
and/or `README.md` is newer than `index.html`.

Updated all `index.html` files because the
the file contains a comment that includes
the newly modified readme2index.sh VERSION.
2024-01-21 00:21:40 -08:00
..
2023-12-26 09:00:03 -08:00
2020-12-30 16:57:03 -08:00
2023-07-06 21:49:38 -07:00
2024-01-15 04:29:39 -08:00

To build:

make

To use:

./prog > foo.c

Try:

./try.sh

The script will ask you if you wish to run make rake but this is not necessary to fully enjoy the entry. make rake will run the rake.sh script and then prog if all is built okay. If rake is not installed then it will check that gem is installed. If gem is not installed it will tell you where to get it and then tell you how to install rake. Otherwise, if rake is installed it will try running rake and if that fails to run it will tell you to run a gem command as either root or via sudo and then to try running make rake or ./rake.sh again. If rake succeeds it will run ./prog which can be used to build main.c.

What is the difference between running ./prog and main?

Judges' remarks:

Big terminals with tiny fonts have their uses in certain cases. One of them is:

make treacl
./treacl

which is shorthand for:

./prog < prog.c > treacle.c
make treacle
./treacle

When using a smartphone to read the output, you may need to step back to see the bigger picture because that picture is worth more than 1000 words.

Author's remarks:

Remarks

You may want to use a large display with a very small terminal font.

Spoiler

See spoilers.md.

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/