Add helper scripts to 2018/endoh2 + formatting

The run.sh script was fixed to work. It did not work because it had a
command that does not even exist ('tempfile') and even after that was
resolved there was another problem to be resolved.

The Makefile rule make python runs the python.sh script but it sets a
trap so one can exit that script but not exit everything (see below).
The python3.sh script is what python.sh is but for the make rule python3
and it works in the same way. The try.sh script runs all of these
scripts as well as the commands suggested by the judges.

The README.md file has been format/typo checked. For the link (twice
referenced) that has flashing lights (and quite a few at that) I put a
warning in parentheses for those who are (like me) sensitive to it (more
important for some people with epilepsy, depending on how sensitive they
are, maybe, but I hate flashing text and lights and so do many other
people).
This commit is contained in:
Cody Boone Ferguson committed 2023-12-13 06:41:52 -08:00
1 parent 52ee9b9697
commit 30847d6aad
7 files changed
+146 -50

No files matched your search

+12
View File
@@ -3968,6 +3968,18 @@ work for Windows, based on the author's remarks.
Internet Wayback Machine.
## <a name="2018_endoh2"></a>[2018/endoh2](/2018/endoh2/prog.c) ([README.md](/2018/endoh2/README.md))
Cody fixed the [run.sh](/2018/endoh2/run.sh) script (had commands that didn't
exist and also didn't work even after that was addressed) and added the
[try.sh](/2018/endoh2/try.sh), [python.sh](/2018/endoh2/python.sh) and
[python3.sh](/2018/endoh2/python3.sh) scripts. The `try.sh` script runs all
three of the other scripts but each allows one to send an interrupt in the loops
and still continue to the next script (if one does it when not in a loop it will
exit the script). The `make python` and `make python3` rules in the Makefile now
run the respective scripts.
## <a name="2018_ferguson"></a>[2018/ferguson](/2018/ferguson/prog.c) ([README.md](/2018/ferguson/README.md))
[Cody](#cody), with irony well intended :-), fixed the [test.sh