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.
#
+6 -6
View File
@@ -1,9 +1,9 @@
# First annual Obfuscated C Code Contest
In [1984](/years.html#1984), the first contest was held. The name of the
In [1984](../years.html#1984), the first contest was held. The name of the
contest was simply "`First annual 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! This year we only had
remarks from two authors but which came years later.
@@ -18,9 +18,9 @@ post](https://groups.google.com/g/net.lang.c/c/lx-TAuEyeRI/m/HdOOnNx6LC0J).
## 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
@@ -28,5 +28,5 @@ See also [the IOCCC FAQ](/faq.html) for addition information on the IOCCC.
Copyright (c) 1984,2023, Landon Curt Noll. 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) if you were to [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) if you were to [send us a note about your use](../contact.html).
+1 -1
View File
@@ -51,7 +51,7 @@
},
{
"file_path" : "1984_anonymous.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
anonymous
anonymous.alt
+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
@@ -69,7 +69,7 @@ for my connection to the C language.
The author, when told about this tattoo, said:
> I feel honored that my entry will be the first IOCCC winner to become a
> I feel honored that my entry will be the first IOCCC winning entry to become a
tattoo. It is the first entry to become a tattoo isn't it?
Landon Curt Noll, the one who told the author about the tattoo, wrote back:
+7 -4
View File
@@ -45,6 +45,8 @@
<a class="Left Disabled" href="#">first entry</a>
<a class="Left" href="../index.html">&uarr; 1984 &uarr;</a>
<a class="Left" href="../decot/index.html">decot &rarr;</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1984/anonymous/anonymous.c">C code</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1984/anonymous/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#Anonymous_1984">Anonymous
1984</a><br> Location: <a href="../../location.html#US">US</a>
<br><br></li>
1984</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 -->
@@ -168,8 +171,8 @@ well known for my connection to the C language.</p>
above):</h3>
<p>The author, when told about this tattoo, said:</p>
<blockquote>
<p>I feel honored that my entry will be the first IOCCC winner to become
a tattoo. It is the first entry to become a tattoo isn’t it?</p>
<p>I feel honored that my entry will be the first IOCCC winning entry to
become a tattoo. It is the first entry to become a tattoo isn’t it?</p>
</blockquote>
<p>Landon Curt Noll, the one who told the author about the tattoo, wrote
back:</p>
+1 -1
View File
@@ -43,7 +43,7 @@
},
{
"file_path" : "1984_decot.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
decot
decot.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.
#
+1 -1
View File
@@ -17,7 +17,7 @@ The current status of this entry is:
STATUS: INABIAF - please **DO NOT** fix
```
For more detailed information see [1984 decot in bugs.md](/bugs.md#1984-decot).
For more detailed information see [1984 decot bugs](../../bugs.html#1984_decot).
## To use:
+7 -3
View File
@@ -45,6 +45,8 @@
<a class="Left" href="../anonymous/index.html">&larr; anonymous</a>
<a class="Left" href="../index.html">&uarr; 1984 &uarr;</a>
<a class="Left" href="../laman/index.html">laman &rarr;</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1984/decot/decot.c">C code</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1984/decot/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#Dave_Decot">Dave Decot</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 -->
@@ -134,8 +138,8 @@ in 2023 to not require this.</p>
<h3 id="bugs-and-misfeatures">Bugs and (Mis)features:</h3>
<p>The current status of this entry is:</p>
<pre><code>STATUS: INABIAF - please **DO NOT** fix</code></pre>
<p>For more detailed information see <a href="/bugs.md#1984-decot">1984
decot in bugs.md</a>.</p>
<p>For more detailed information see <a
href="../../bugs.html#1984_decot">1984 decot bugs</a>.</p>
<h2 id="to-use">To use:</h2>
<div class="sourceCode" id="cb3"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./decot</span></span></code></pre></div>
<h2 id="alternate-code">Alternate code:</h2>
+9 -8
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">
@@ -114,10 +115,10 @@
<h1 id="first-annual-obfuscated-c-code-contest">First annual Obfuscated
C Code Contest</h1>
<p>In <a href="/years.html#1984">1984</a>, the first contest was held.
<p>In <a href="../years.html#1984">1984</a>, the first contest was held.
The name of the contest was simply
“<code>First annual Obfuscated C Code Contest</code>”.</p>
<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!
This year we only had remarks from two authors but which came years
@@ -132,18 +133,18 @@ href="https://groups.google.com/g/net.lang.c/c/lx-TAuEyeRI/m/HdOOnNx6LC0J">net.l
post</a>.</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) 1984,2023, Landon Curt Noll. 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) if you were to <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
@@ -43,7 +43,7 @@
},
{
"file_path" : "1984_laman.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="../decot/index.html">&larr; decot</a>
<a class="Left" href="../index.html">&uarr; 1984 &uarr;</a>
<a class="Left" href="../mullender/index.html">mullender &rarr;</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1984/laman/laman.c">C code</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1984/laman/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#Mike_Laman">Mike Laman</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
@@ -60,7 +60,7 @@
},
{
"file_path" : "1984_mullender.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
g.c
gentab
+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.
#
+2 -2
View File
@@ -19,7 +19,7 @@ The current status of this entry is:
STATUS: INABIAF - please **DO NOT** fix
```
For more detailed information see [1984 mullender in bugs.md](/bugs.md#1984-mullender).
For more detailed information see [1984 mullender bugs](../../bugs.html#1984_mullender).
## To use:
@@ -123,7 +123,7 @@ favorite entries!
### gentab.c
In 2023 remarks were discovered from [Sjoerd
Mullender](/authors.html#Sjoerd_Mullender), one of the authors, and so was the
Mullender](../../authors.html#Sjoerd_Mullender), one of the authors, and so was the
program that was used by the authors to generate the array that he referred to.
Because [a.out.h](a.out.h), which [gentab.c](gentab.c) uses, is not available in
all systems (like macOS) and more importantly because we wanted it to be as
+15 -11
View File
@@ -45,6 +45,8 @@
<a class="Left" href="../laman/index.html">&larr; laman</a>
<a class="Left" href="../index.html">&uarr; 1984 &uarr;</a>
<a class="Left Disabled" href="#">last entry</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1984/mullender/mullender.c">C code</a>
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/1984/mullender/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,11 +120,11 @@
<h2 id="authors"><a name="author"></a>Authors:</h2>
<ul>
<li>Name: <a href="../../authors.html#Robbert_van_Renesse">Robbert van
Renesse</a><br> Location: <a href="../../location.html#US">US</a>
<br><br></li>
Renesse</a><br> 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#Sjoerd_Mullender">Sjoerd
Mullender</a><br> Location: <a href="../../location.html#NL">NL</a>
<br><br></li>
Mullender</a><br> Location: <a href="../../location.html#NL">NL</a> -
<em>Kingdom of the Netherlands</em> (<em>Netherlands</em>) <br><br></li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -141,7 +144,7 @@ version.</p>
<p>The current status of this entry is:</p>
<pre><code>STATUS: INABIAF - please **DO NOT** fix</code></pre>
<p>For more detailed information see <a
href="/bugs.md#1984-mullender">1984 mullender in bugs.md</a>.</p>
href="../../bugs.html#1984_mullender">1984 mullender bugs</a>.</p>
<h2 id="to-use">To use:</h2>
<div class="sourceCode" id="cb3"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./mullender.alt</span> <span class="pp">[</span><span class="ss">microseconds</span><span class="pp">]</span></span></code></pre></div>
<p>Hit ctrl-c/intr to exit the program.</p>
@@ -209,12 +212,13 @@ is printed? We knew you couldn’t! :-)</p>
all time favorite entries!</p>
<h3 id="gentab.c">gentab.c</h3>
<p>In 2023 remarks were discovered from <a
href="/authors.html#Sjoerd_Mullender">Sjoerd Mullender</a>, one of the
authors, and so was the program that was used by the authors to generate
the array that he referred to. Because <a href="a.out.h">a.out.h</a>,
which <a href="gentab.c">gentab.c</a> uses, is not available in all
systems (like macOS) and more importantly because we wanted it to be as
close to as the original as possible we used a copy of <a
href="../../authors.html#Sjoerd_Mullender">Sjoerd Mullender</a>, one of
the authors, and so was the program that was used by the authors to
generate the array that he referred to. Because <a
href="a.out.h">a.out.h</a>, which <a href="gentab.c">gentab.c</a> uses,
is not available in all systems (like macOS) and more importantly
because we wanted it to be as close to as the original as possible we
used a copy of <a
href="https://raw.githubusercontent.com/dspinellis/unix-history-repo/Research-Release/usr/include/a.out.h"
class="uri">https://raw.githubusercontent.com/dspinellis/unix-history-repo/Research-Release/usr/include/a.out.h</a>
in the <em>fabulous</em> <a