fix and improve links within the web site

Entry source is now prog.c for IOCCC years 2014 thru 2020,
or is now dirname.c IOCCC years 1984 thru 2013.

To achieve this state, we renamed the following:

renamed:    2004/hibachi/src/hibachi.c -> 2004/hibachi/hibachi.c
renamed:    2012/omoikane/nyaruko.alt.c -> 2012/omoikane/omoikane.alt.c
renamed:    2012/omoikane/nyaruko.alt2.c -> 2012/omoikane/omoikane.alt2.c
renamed:    2012/omoikane/nyaruko.c -> 2012/omoikane/omoikane.c
renamed:    2012/omoikane/nyaruko.orig.c -> 2012/omoikane/omoikane.orig.c

Modified `bin/subst.entry-index.sh` to add to entry `index.html` file,
links to the `Makefile` and the _C code_ to the top navigation bar.
Changed `bin/subst.entry-index.sh` VERSION from "1.2.2 2024-02-25"
to "1.3 2024-03-02".

Moved printing the Inventory link in the top navigation bar
from `bin/subst.entry-navbar.awk` to `bin/subst.entry-index.sh`.
Changed `bin/subst.entry-navbar.awk` VERSION from "1.0.1 2024-02-23"
to "1.1 2024-03-02".

Moved printing the Inventory link in the top navigation bar
from `bin/subst.year-navbar.awk` to `bin/subst.year-index.sh`.
Changed `bin/subst.year-index.sh` VERSION from "1.0 2024-02-11"
to "1.1 2024-03-02".
Changed `bin/subst.year-navbar.awk` VERSION from "1.0 2024-02-11"
to "1.1 2024-03-02".

Added location names (both default and common) to `author.html`.
Changed `tmp/gen_author_json.sh` VERSION from "1.0 2023-06-06"
to "1.1 2024-03-04".

Added location names (both default and common) to `author.html`.
Changed `bin/gen-authors.sh` VERSION from "1.2 2024-03-09"
to "1.3 2024-03-04".

The manifest and the resulting `.entry.json` files have been changed
for `2004/hibachi` and `2012/omoikane`.

The Makefiles for  `2004/hibachi` and `2012/omoikane` copy the
source file into the "previously used location".  The `make clobber`
rule removes the copied source.  The `.gitignore` files have been
updated accordingly.

Improved how the concept of IOCCC terms _entry_, _author_ and _submission_ are
used in markdown files.

Links to markdown files (files ending in .md) within the repo were
changed to link to HTML files (files ending in .html).  Special cases
where `README.md` became `index.html` were modified accordingly.

Fixed URL for `bugs.html` in Makefile comments.

Fixed name of `bin/sgi.sh` referenced in comments in `.gitignore` files.

Links to locations within the repo are now relative.  For example a
link to `/contact.html` may become `../contact.html' or '../../contact.html`
depending on the directory level of the markdown file.

Nearly all links with absolute URLs under _https://www.ioccc.org_
or `https://ioccc-src.github.io/temp-test-ioccc_ have been changed to
relative paths within the repo.  Some exceptions to this (such as
referring to a GitHub repo) were preserved.

Fixed a number of inside `faq.md` and `bugs.md`.

Added HTML name tags (in the form of an _entry_id_) for each entry
referenced in `bugs.md`.  Fixed links from outside of `bugs.html`
into `bugs.html` accordingly.

Where FAQ entries are referenced, a named tag is used so that if a
FAQ is ever renumbered, links outside of `faq.html` will still work.

Changed the _inventory_order_ of a compressed tarball from _300_
to _100000_.  While this may have been done for the manifest,
this changed had not yet been propagated into the `.entry.json` files.

Links to web sites that were in the for <URL> are now [URL](URL).

Performed `name www` to process all of the above.

Improved format of `authors.html`.  Full names are now bold.
Location codes are now links back into `location.html` and
location names (both default and common) are now italics.
Added _author_handle_ each author.

Changed `bin/gen-authors.sh` VERSION from "1.1 2024-02-25"
to "1.2 2024-03-09".

Improved format of `location.html` as location codes are now bold,
author counts in a given location are now bold, and location names
(both default and common) are now italics.

Changed `bin/gen-location.sh` VERSION from "1.0.1 2024-02-23"
to "1.1 2024-03-04".

Added italic location name after location code in entry
`index.html` files.

Changed `bin/output-index-author.sh` VERSION from "1.4.1 2024-02-23"
to "1.5 2024-03-04".

Added _Location of authors_ to the sidebar as a link to `location.html`.

TODO: While nearly all of the above mentioned changes are likely correct,
      they likely introduced a few errors that need correcting.
This commit is contained in:
Landon Curt Noll committed 2024-03-04 23:45:28 -08:00
1 parent 91c55a20fd
commit 2b92c89be8
1811 files changed
+11313 -9962

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
# first check this URL for a list of known bugs and (mis)features of IOCCC entries:
#
# https://www.ioccc.org/bugs.md
# https://www.ioccc.org/bugs.html
#
# GitHub pull requests are welcome! Please see the above URL for details.
#
+7 -7
View File
@@ -1,13 +1,13 @@
# Second year of the International Obfuscated C Code Contest
Look at the `README.md` file for the given winning entry for information on how
View the `index.html` web page for the given winning entry for information on how
to compile it and how to run the winning program. Look at the winning source
and try to figure how it does what it does! You may then wish to look at the
Author's remarks for even more details.
Hints against machine dependent code were added to the [rules](rules.txt) to
avoid another 1984 style winner ([1984/mullender](../1984/mullender)).
[Rules](rules.txt) and [results](/years.html#1985) were posted to
avoid another 1984 style entry ([1984/mullender](../1984/mullender/index.html)).
[Rules](rules.txt) and [results](../years.html#1985) were posted to
[net.lang.c](https://groups.google.com/g/net.lang.c) and
[net.unix-wizards](https://groups.google.com/g/net.unix-wizards). Larry Bassel
was invited to help in the judging. Awards were given to 5 classes of programs
@@ -16,9 +16,9 @@ since we were unable to select only the best 4.
## Final Comments
**IMPORTANT NOTE**: See [contact.html](/contact.html) for up to date contact details
**IMPORTANT NOTE**: See [contact.html](../contact.html) for up to date contact details
as well as details on how to provide fixes to any of the entries.
See also [the IOCCC FAQ](/faq.html) for addition information on the IOCCC.
See also [the IOCCC FAQ](../faq.html) for addition information on the IOCCC.
# Copyright and License
@@ -26,5 +26,5 @@ See also [the IOCCC FAQ](/faq.html) for addition information on the IOCCC.
Copyright (c) 1985,2023, Landon Curt Noll and Larry Bassel. All Rights Reserved.
This work is licensed under a [Creative Commons CC BY-SA 4.0 DEED Attribution-ShareAlike
4.0 International](https://creativecommons.org/licenses/by-sa/4.0/) license.
If you do use this work in some form, the [IOCCC judges](/judges.html) would appreciate
(but does not require) that you [send us a note about your use](/contact.html).
If you do use this work in some form, the [IOCCC judges](../judges.html) would appreciate
(but does not require) that you [send us a note about your use](../contact.html).
+1 -1
View File
@@ -36,7 +36,7 @@
},
{
"file_path" : "1985_applin.tar.bz2",
"inventory_order" : 300,
"inventory_order" : 100000,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+1 -1
View File
@@ -1,5 +1,5 @@
#
# sort with: ../../bin/sgi
# sort with: ../../bin/sgi.sh
*.dSYM
applin
applin.orig
+1 -1
View File
@@ -10,7 +10,7 @@
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
# first check this URL for a list of known bugs and (mis)features of IOCCC entries:
#
# https://www.ioccc.org/bugs.md
# https://www.ioccc.org/bugs.html
#
# GitHub pull requests are welcome! Please see the above URL for details.
#
+7 -3
View File
@@ -45,6 +45,8 @@
<a class="Left Disabled" href="#">first entry</a>
<a class="Left" href="../index.html">&uarr; 1985 &uarr;</a>
<a class="Left" href="../august/index.html">august &rarr;</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1985/applin/applin.c">C code</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1985/applin/Makefile">Makefile</a>
<a class="Right" href="#inventory">Inventory</a>
</div>
@@ -69,6 +71,7 @@
<a href="../../index.html">IOCCC Home</a>
<a href="../../years.html">Winning Entries</a>
<a href="../../authors.html">People who have won</a>
<a href="../../location.html">Location of authors</a>
</div>
<hr>
<div class="sidenav">
@@ -117,10 +120,11 @@
<h2 id="authors"><a name="author"></a>Authors:</h2>
<ul>
<li>Name: <a href="../../authors.html#Jack_Applin">Jack Applin</a><br>
Location: <a href="../../location.html#US">US</a> <br><br></li>
Location: <a href="../../location.html#US">US</a> - <em>United States of
America</em> (<em>United States</em>) <br><br></li>
<li>Name: <a href="../../authors.html#Robert_Heckendorn">Robert
Heckendorn</a><br> Location: <a href="../../location.html#US">US</a>
<br><br></li>
Heckendorn</a><br> Location: <a href="../../location.html#US">US</a> -
<em>United States of America</em> (<em>United States</em>) <br><br></li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
+1 -1
View File
@@ -51,7 +51,7 @@
},
{
"file_path" : "1985_august.tar.bz2",
"inventory_order" : 300,
"inventory_order" : 100000,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+1 -1
View File
@@ -1,5 +1,5 @@
#
# sort with: ../../bin/sgi
# sort with: ../../bin/sgi.sh
*.dSYM
august
august.orig
+1 -1
View File
@@ -10,7 +10,7 @@
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
# first check this URL for a list of known bugs and (mis)features of IOCCC entries:
#
# https://www.ioccc.org/bugs.md
# https://www.ioccc.org/bugs.html
#
# GitHub pull requests are welcome! Please see the above URL for details.
#
+5 -2
View File
@@ -45,6 +45,8 @@
<a class="Left" href="../applin/index.html">&larr; applin</a>
<a class="Left" href="../index.html">&uarr; 1985 &uarr;</a>
<a class="Left" href="../lycklama/index.html">lycklama &rarr;</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1985/august/august.c">C code</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1985/august/Makefile">Makefile</a>
<a class="Right" href="#inventory">Inventory</a>
</div>
@@ -69,6 +71,7 @@
<a href="../../index.html">IOCCC Home</a>
<a href="../../years.html">Winning Entries</a>
<a href="../../authors.html">People who have won</a>
<a href="../../location.html">Location of authors</a>
</div>
<hr>
<div class="sidenav">
@@ -117,8 +120,8 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#Lennart_Augustsson">Lennart
Augustsson</a><br> Location: <a href="../../location.html#SE">SE</a>
<br><br></li>
Augustsson</a><br> Location: <a href="../../location.html#SE">SE</a> -
<em>Kingdom of Sweden</em> (<em>Sweden</em>) <br><br></li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
+11 -10
View File
@@ -69,6 +69,7 @@
<a href="../index.html">IOCCC Home</a>
<a href="../years.html">Winning Entries</a>
<a href="../authors.html">People who have won</a>
<a href="../location.html">Location of authors</a>
</div>
<hr>
<div class="sidenav">
@@ -115,15 +116,15 @@
<h1
id="second-year-of-the-international-obfuscated-c-code-contest">Second
year of the International Obfuscated C Code Contest</h1>
<p>Look at the <code>README.md</code> file for the given winning entry
<p>View the <code>index.html</code> web page for the given winning entry
for information on how to compile it and how to run the winning program.
Look at the winning source and try to figure how it does what it does!
You may then wish to look at the Author’s remarks for even more
details.</p>
<p>Hints against machine dependent code were added to the <a
href="rules.txt">rules</a> to avoid another 1984 style winner (<a
href="../1984/mullender">1984/mullender</a>). <a
href="rules.txt">Rules</a> and <a href="/years.html#1985">results</a>
href="rules.txt">rules</a> to avoid another 1984 style entry (<a
href="../1984/mullender/index.html">1984/mullender</a>). <a
href="rules.txt">Rules</a> and <a href="../years.html#1985">results</a>
were posted to <a
href="https://groups.google.com/g/net.lang.c">net.lang.c</a> and <a
href="https://groups.google.com/g/net.unix-wizards">net.unix-wizards</a>.
@@ -131,18 +132,18 @@ Larry Bassel was invited to help in the judging. Awards were given to 5
classes of programs since we were unable to select only the best 4.</p>
<h2 id="final-comments">Final Comments</h2>
<p><strong>IMPORTANT NOTE</strong>: See <a
href="/contact.html">contact.html</a> for up to date contact details as
well as details on how to provide fixes to any of the entries. See also
<a href="/faq.html">the IOCCC FAQ</a> for addition information on the
IOCCC.</p>
href="../contact.html">contact.html</a> for up to date contact details
as well as details on how to provide fixes to any of the entries. See
also <a href="../faq.html">the IOCCC FAQ</a> for addition information on
the IOCCC.</p>
<h1 id="copyright-and-license">Copyright and License</h1>
<p>Copyright (c) 1985,2023, Landon Curt Noll and Larry Bassel. All
Rights Reserved. This work is licensed under a <a
href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons
CC BY-SA 4.0 DEED Attribution-ShareAlike 4.0 International</a> license.
If you do use this work in some form, the <a href="/judges.html">IOCCC
If you do use this work in some form, the <a href="../judges.html">IOCCC
judges</a> would appreciate (but does not require) that you <a
href="/contact.html">send us a note about your use</a>.</p>
href="../contact.html">send us a note about your use</a>.</p>
<!-- END: this line ends content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<!-- START: this line starts content for HTML phase 22 by: bin/output-year-index.sh via bin/md2html.sh -->
+1 -1
View File
@@ -51,7 +51,7 @@
},
{
"file_path" : "1985_lycklama.tar.bz2",
"inventory_order" : 300,
"inventory_order" : 100000,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+1 -1
View File
@@ -1,5 +1,5 @@
#
# sort with: ../../bin/sgi
# sort with: ../../bin/sgi.sh
*.dSYM
indent
indent.c
+1 -1
View File
@@ -10,7 +10,7 @@
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
# first check this URL for a list of known bugs and (mis)features of IOCCC entries:
#
# https://www.ioccc.org/bugs.md
# https://www.ioccc.org/bugs.html
#
# GitHub pull requests are welcome! Please see the above URL for details.
#
+5 -1
View File
@@ -45,6 +45,8 @@
<a class="Left" href="../august/index.html">&larr; august</a>
<a class="Left" href="../index.html">&uarr; 1985 &uarr;</a>
<a class="Left" href="../shapiro/index.html">shapiro &rarr;</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1985/lycklama/lycklama.c">C code</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1985/lycklama/Makefile">Makefile</a>
<a class="Right" href="#inventory">Inventory</a>
</div>
@@ -69,6 +71,7 @@
<a href="../../index.html">IOCCC Home</a>
<a href="../../years.html">Winning Entries</a>
<a href="../../authors.html">People who have won</a>
<a href="../../location.html">Location of authors</a>
</div>
<hr>
<div class="sidenav">
@@ -117,7 +120,8 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#Ed_Lycklama">Ed Lycklama</a><br>
Location: <a href="../../location.html#ZZ">ZZ</a> <br><br></li>
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown
location</em> <br><br></li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
+1 -1
View File
@@ -51,7 +51,7 @@
},
{
"file_path" : "1985_shapiro.tar.bz2",
"inventory_order" : 300,
"inventory_order" : 100000,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+1 -1
View File
@@ -1,5 +1,5 @@
#
# sort with: ../../bin/sgi
# sort with: ../../bin/sgi.sh
*.dSYM
indent
indent.c
+1 -1
View File
@@ -10,7 +10,7 @@
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
# first check this URL for a list of known bugs and (mis)features of IOCCC entries:
#
# https://www.ioccc.org/bugs.md
# https://www.ioccc.org/bugs.html
#
# GitHub pull requests are welcome! Please see the above URL for details.
#
+5 -1
View File
@@ -45,6 +45,8 @@
<a class="Left" href="../lycklama/index.html">&larr; lycklama</a>
<a class="Left" href="../index.html">&uarr; 1985 &uarr;</a>
<a class="Left" href="../sicherman/index.html">sicherman &rarr;</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1985/shapiro/shapiro.c">C code</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1985/shapiro/Makefile">Makefile</a>
<a class="Right" href="#inventory">Inventory</a>
</div>
@@ -69,6 +71,7 @@
<a href="../../index.html">IOCCC Home</a>
<a href="../../years.html">Winning Entries</a>
<a href="../../authors.html">People who have won</a>
<a href="../../location.html">Location of authors</a>
</div>
<hr>
<div class="sidenav">
@@ -117,7 +120,8 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#Carl_Shapiro">Carl Shapiro</a><br>
Location: <a href="../../location.html#US">US</a> <br><br></li>
Location: <a href="../../location.html#US">US</a> - <em>United States of
America</em> (<em>United States</em>) <br><br></li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
+1 -1
View File
@@ -59,7 +59,7 @@
},
{
"file_path" : "1985_sicherman.tar.bz2",
"inventory_order" : 300,
"inventory_order" : 100000,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+1 -1
View File
@@ -1,5 +1,5 @@
#
# sort with: ../../bin/sgi
# sort with: ../../bin/sgi.sh
*.dSYM
indent
indent.c
+1 -1
View File
@@ -10,7 +10,7 @@
# Bug fixes, corrections and typo fixes are VERY WELCOME. If you see a problem,
# first check this URL for a list of known bugs and (mis)features of IOCCC entries:
#
# https://www.ioccc.org/bugs.md
# https://www.ioccc.org/bugs.html
#
# GitHub pull requests are welcome! Please see the above URL for details.
#
+1 -1
View File
@@ -68,7 +68,7 @@ In this case it will be built as `sicherman.alt`.
This program abuses the C preprocessor so much that some `cpp`s fail to strip
out all of the comments on the first pass! If you were able to understand
[Decot's](/authors.html#Dave_Decot) [entry in 1984](/1984/decot/README.md), you
[Decot's](../../authors.html#Dave_Decot) [entry in 1984](../../1984/decot/index.html), you
will have a head start on this one.
Be sure to run this program through lint! If your lint works
+8 -5
View File
@@ -45,6 +45,8 @@
<a class="Left" href="../shapiro/index.html">&larr; shapiro</a>
<a class="Left" href="../index.html">&uarr; 1985 &uarr;</a>
<a class="Left Disabled" href="#">last entry</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1985/sicherman/sicherman.c">C code</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1985/sicherman/Makefile">Makefile</a>
<a class="Right" href="#inventory">Inventory</a>
</div>
@@ -69,6 +71,7 @@
<a href="../../index.html">IOCCC Home</a>
<a href="../../years.html">Winning Entries</a>
<a href="../../authors.html">People who have won</a>
<a href="../../location.html">Location of authors</a>
</div>
<hr>
<div class="sidenav">
@@ -117,8 +120,8 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#Col_G_L_Sicherman">Col. G. L.
Sicherman</a><br> Location: <a href="../../location.html#US">US</a>
<br><br></li>
Sicherman</a><br> Location: <a href="../../location.html#US">US</a> -
<em>United States of America</em> (<em>United States</em>) <br><br></li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -163,9 +166,9 @@ do it manually like:</p>
<p>This program abuses the C preprocessor so much that some
<code>cpp</code>s fail to strip out all of the comments on the first
pass! If you were able to understand <a
href="/authors.html#Dave_Decot">Decot’s</a> <a
href="/1984/decot/README.md">entry in 1984</a>, you will have a head
start on this one.</p>
href="../../authors.html#Dave_Decot">Decot’s</a> <a
href="../../1984/decot/index.html">entry in 1984</a>, you will have a
head start on this one.</p>
<p>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?</p>