Make author's statement that the entry cleanly compiles true. :-)
(main() was declared 'int main()').
Format fixes in README.md.
Add guidelines.txt as the author uses it in an example command.
Update .gitignore with files created by the commands suggested.
Fixed scripts to use LC_ALL=C. This was necessary especially for de.sh
as the tr invocation had invalid bytes. Similar requirement was in
getwords.sh. But since I changed the one I decided to change the others
too.
I note that both before and after the fix the alternative languages do
not work under macOS or fedora linux. I don't know if this is the wrong
locale (the author does suggest UTF-8) or the dictionary or something
else but I noted it anyway.
I added this latter problem to bugs.md. Whilst at it I added some notes
and fixes to bugs.md.
The Makefile had a bad character, a '%' instead of a '$' which caused a
rule to fail.
Format fixes in README.md.
There is one thing I'm not sure about. It appears to be a mistake but
I'm not sure if there is some meaning. Line 66:
Input should be less than ten million octets toavoidthisproblem.
But the last 'word' should be, at least if it is a mistake, four words.
I have not changed it as the context was not clear enough to be sure it
was incorrect. This can be dealt with another time.
There were many many README.md files with the wrong heading level for
different sections. These have been changed.
To help go through the changes it should be noted I used sgit and also
here is what is changed:
The 'Try', 'To build' and 'To run' lines have two '#'s. Some had one and
others had three.
An exception is that in 1984/anonymous/README.md for the alternative
code that had three '#'s. This is not consistent yet and it might be
that only two are desired. But for now that one at least has three.
For Makefiles that have alt related rules, moved
the related rules under the alt rule section.
In some cases where there is no alt code,
removed alt rules and/or targets.
Simply the Makefile header.
Refer to the //www.ioccc.org/bugs.md URL (that will eventually exist).
Now using CC BY-SA 4.0 License to how you may share and adapt the
Makefile.
As per a request on GitHub the LESSECHO variable has been removed from
all the Makefiles. It was only in the 2019 and 2020 Makefiles as well as
var.mk.
In at least one case some -D flags had to be added to the Makefile.
Typo fixes and formatting fixes in some README.md files.
For the simply amazing 2019/karns I added a demo.sh which does a cat on
the two files (prog.c and maze) and then sleeps for two seconds then
runs the program then sleeps for two seconds then resets the terminal
(so the colours are messed up). This was added to the README.md file.
Several .gitignore files were added.
I'm aware that the graphics editing one does not now work under macOS
but I'm not sure if this is all versions so I just noted that it doesn't
seem to work with recent versions of macOS as I don't have a way to test
before Ventura (the current version).
As in
find . -name 'whowon.html' -execdir git rm '{}' \;
or more simply just
git rm '*/whowon.html'
This is per discussion on GitHub - the files will in the future be
generated rather than made manually so these files must go for now.
The commit 00ae59cd47 had a
mistake that introduces changes to Makefiles for 1996 thru 2020
that should not have been included.
This change reverses these intermediate changes until
the given year's Makefiles are ready.
Move copyright notice to the end.
Add a standard comment about the newly added `README.md` files.
Clean up trailing whitespace.
Fixed a few minor typos.