rename bin/gen-top-html.sh, added archive/historic/index.html

We rename `bin/gen-top-md2html.sh` to `bin/gen-top-html.sh`.

Modified the `bin/gen-top-html.sh` tool to build `archive/historic/index.html`
from `archive/historic/README.md`.

In `bin/gen-top-html.sh` changed VERSION from "1.1 2024-02-28"
to "1.2 2024-02-29".

Renamed `make gen_top_md2html` to `gen_top_html` in the top level `Makefile`.

Improved `archive/historic/README.md`.

Updated `robots.txt` to include the Sitemap directive.

Moved unused `valid-html401.png` to `png/valid-html401.png`.
This png image may be used later.

Performed `make gen_top_html` which rebuilt all top level HTML files
as well as `bin/index.html` and `inc/index.html`.
This commit is contained in:
Landon Curt Noll committed 2024-02-29 00:16:05 -08:00
1 parent 0f8a0a3af9
commit fb43b1dfef
19 files changed
+319 -26

No files matched your search

+48 -1
View File
@@ -1,4 +1,48 @@
# archive IOCCC winning source
# Historic archive of IOCCC winning entries
## Historic archives as bz2 compressed tarballs
**WARNING:** These historic archives contain lots of code that will no longer compile,
contains lots of typos, has broken links, has missing files, and contains many programs that will not
run in modern systems.
<br><br>
These archives provided for historic purposes and are
**NOT RECOMMENDED** for casual viewing.
<br><br>
**Instead of using these archives, you should use the code from the** [Winning Entries](../../years.html) and related links.
* [archive-all.tar.bz2](archive-all.tar.bz2)
* [archive-1984.tar.bz2](archive-1984.tar.bz2)
* [archive-1985.tar.bz2](archive-1985.tar.bz2)
* [archive-1986.tar.bz2](archive-1986.tar.bz2)
* [archive-1987.tar.bz2](archive-1987.tar.bz2)
* [archive-1988.tar.bz2](archive-1988.tar.bz2)
* [archive-1989.tar.bz2](archive-1989.tar.bz2)
* [archive-1990.tar.bz2](archive-1990.tar.bz2)
* [archive-1991.tar.bz2](archive-1991.tar.bz2)
* [archive-1992.tar.bz2](archive-1992.tar.bz2)
* [archive-1993.tar.bz2](archive-1993.tar.bz2)
* [archive-1994.tar.bz2](archive-1994.tar.bz2)
* [archive-1995.tar.bz2](archive-1995.tar.bz2)
* [archive-1996.tar.bz2](archive-1996.tar.bz2)
* [archive-1998.tar.bz2](archive-1998.tar.bz2)
* [archive-2000.tar.bz2](archive-2000.tar.bz2)
* [archive-2001.tar.bz2](archive-2001.tar.bz2)
* [archive-2004.tar.bz2](archive-2004.tar.bz2)
* [archive-2005.tar.bz2](archive-2005.tar.bz2)
* [archive-2006.tar.bz2](archive-2006.tar.bz2)
* [archive-2011.tar.bz2](archive-2011.tar.bz2)
* [archive-2012.tar.bz2](archive-2012.tar.bz2)
* [archive-2013.tar.bz2](archive-2013.tar.bz2)
* [archive-2014.tar.bz2](archive-2014.tar.bz2)
* [archive-2015.tar.bz2](archive-2015.tar.bz2)
* [archive-2018.tar.bz2](archive-2018.tar.bz2)
* [archive-2019.tar.bz2](archive-2019.tar.bz2)
* [archive-2020.tar.bz2](archive-2020.tar.bz2)
## Notes on these archives
These zip2 compressed tarballs were preserved as an archive of the
winning source code that was available on the [official IOCCC web
@@ -30,6 +74,9 @@ tarballs as found in the [Internet Archive Wayback
Machine](https://web.archive.org) as of [2022 Dec
28)(https://web.archive.org/web/20201228005211/https://www.ioccc.org/).
## How to unpack
*HINT*: To uncompress a given bzip2 compressed tarball file, use:
```sh
+221
View File
@@ -0,0 +1,221 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- START: two lines up starts content from: inc/top.default.html -->
<!-- -->
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<!-- !!! DO NOT MODIFY THIS FILE - This file is generated by a tool !!! -->
<!-- !!! DO NOT MODIFY THIS FILE - This file is generated by a tool !!! -->
<!-- !!! DO NOT MODIFY THIS FILE - This file is generated by a tool !!! -->
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<!-- -->
<!-- END: this line ends content from: inc/top.default.html -->
<!-- -->
<!-- The original markdown content was formed by the tool: bin/gen-top-html.sh -->
<!-- The HTML was converted from markdown by the tool: bin/md2html.sh -->
<!-- -->
<!-- START: this line starts content from: inc/head.default.html -->
<head>
<link rel="stylesheet" href="../../ioccc.css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>The International Obfuscated C Code Contest</title>
<meta name="description" content="Historic archive of IOCCC winning entries">
<meta name="keywords" content="IOCCC, archive, historic, historic archive, IOCCC archive">
</head>
<!-- END: this line ends content from: inc/head.default.html -->
<!-- START: this line starts content from: inc/body.default.html -->
<body>
<!-- END: this line ends content from: inc/body.default.html -->
<!-- START: this line starts content from: inc/header.default.html -->
<div class="header">
<img src="../../png/ioccc.png" alt="IOCCC image by Matt Zucker" width=300 height=110>
<h1>The International Obfuscated C Code Contest</h1>
<h2>Historic archive of IOCCC winning entries</h2>
</div>
<!-- END: this line ends content from: inc/header.default.html -->
<!-- START: this line starts content from: inc/begin-row.default.html -->
<div class="row">
<!-- END: this line ends content from: inc/begin-row.default.html -->
<!-- START: this line starts content from: inc/begin-leftcolumn.default.html -->
<div class="leftcolumn">
<!-- END: this line ends content from: inc/begin-leftcolumn.default.html -->
<!-- START: this line starts content from: inc/sidenav.default.html -->
<div class="sidenav">
<a href="#content">Jump to contents</a>
</div>
<hr>
<div class="sidenav">
<a href="../../index.html">IOCCC Home</a>
<a href="../../years.html">Winning Entries</a>
<a href="../../authors.html">People who have won</a>
</div>
<hr>
<div class="sidenav">
<a href="../../news.html">IOCCC News</a>
<a href="../../faq.html#submit">How to enter the IOCCC</a>
<a href="../../faq.html">FAQ</a>
</div>
<hr>
<div class="sidenav">
<a href="../../bugs.html">Bugs &amp; (mis)features</a>
<a href="../../faq.html#fix_an_entry">Fixing IOCCC entries</a>
<a href="../../faq.html#fix_web_site">Fixing the web site</a>
<a href="../../faq.html#fix_author">Fixing author info</a>
<a href="../../thanks-for-help.html">Thanks for the help</a>
</div>
<hr>
<div class="sidenav">
<a href="../../judges.html">The IOCCC Judges</a>
<a href="../../contact.html">Contacting the IOCCC</a>
</div>
<hr>
<div class="sidenav">
<a href="#top">Jump to top</a>
</div>
<!-- END: this line ends content from: inc/sidenav.default.html -->
<!-- START: this line starts content from: inc/end-leftcolumn.default.html -->
</div>
<!-- END: this line ends content from: inc/end-leftcolumn.default.html -->
<!-- START: this line starts content from: inc/begin-rightcolumn.default.html -->
<div class="rightcolumn">
<!-- END: this line ends content from: inc/begin-rightcolumn.default.html -->
<!-- START: this line starts content from: inc/before-content.default.html -->
<a name="content"></a>
<!-- END: this line ends content from: inc/before-content.default.html -->
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h1 id="historic-archive-of-ioccc-winning-entries">Historic archive of
IOCCC winning entries</h1>
<h2 id="historic-archives-as-bz2-compressed-tarballs">Historic archives
as bz2 compressed tarballs</h2>
<p><strong>WARNING:</strong> These historic archives contain lots of
code that will no longer compile, contains lots of typos, has broken
links, has missing files, and contains many programs that will not run
in modern systems. <br><br> These archives provided for historic
purposes and are <strong>NOT RECOMMENDED</strong> for casual viewing.
<br><br> <strong>Instead of using these archives, you should use the
code from the</strong> <a href="../../years.html">Winning Entries</a>
and related links.</p>
<ul>
<li><a href="archive-all.tar.bz2">archive-all.tar.bz2</a></li>
<li><a href="archive-1984.tar.bz2">archive-1984.tar.bz2</a></li>
<li><a href="archive-1985.tar.bz2">archive-1985.tar.bz2</a></li>
<li><a href="archive-1986.tar.bz2">archive-1986.tar.bz2</a></li>
<li><a href="archive-1987.tar.bz2">archive-1987.tar.bz2</a></li>
<li><a href="archive-1988.tar.bz2">archive-1988.tar.bz2</a></li>
<li><a href="archive-1989.tar.bz2">archive-1989.tar.bz2</a></li>
<li><a href="archive-1990.tar.bz2">archive-1990.tar.bz2</a></li>
<li><a href="archive-1991.tar.bz2">archive-1991.tar.bz2</a></li>
<li><a href="archive-1992.tar.bz2">archive-1992.tar.bz2</a></li>
<li><a href="archive-1993.tar.bz2">archive-1993.tar.bz2</a></li>
<li><a href="archive-1994.tar.bz2">archive-1994.tar.bz2</a></li>
<li><a href="archive-1995.tar.bz2">archive-1995.tar.bz2</a></li>
<li><a href="archive-1996.tar.bz2">archive-1996.tar.bz2</a></li>
<li><a href="archive-1998.tar.bz2">archive-1998.tar.bz2</a></li>
<li><a href="archive-2000.tar.bz2">archive-2000.tar.bz2</a></li>
<li><a href="archive-2001.tar.bz2">archive-2001.tar.bz2</a></li>
<li><a href="archive-2004.tar.bz2">archive-2004.tar.bz2</a></li>
<li><a href="archive-2005.tar.bz2">archive-2005.tar.bz2</a></li>
<li><a href="archive-2006.tar.bz2">archive-2006.tar.bz2</a></li>
<li><a href="archive-2011.tar.bz2">archive-2011.tar.bz2</a></li>
<li><a href="archive-2012.tar.bz2">archive-2012.tar.bz2</a></li>
<li><a href="archive-2013.tar.bz2">archive-2013.tar.bz2</a></li>
<li><a href="archive-2014.tar.bz2">archive-2014.tar.bz2</a></li>
<li><a href="archive-2015.tar.bz2">archive-2015.tar.bz2</a></li>
<li><a href="archive-2018.tar.bz2">archive-2018.tar.bz2</a></li>
<li><a href="archive-2019.tar.bz2">archive-2019.tar.bz2</a></li>
<li><a href="archive-2020.tar.bz2">archive-2020.tar.bz2</a></li>
</ul>
<h2 id="notes-on-these-archives">Notes on these archives</h2>
<p>These zip2 compressed tarballs were preserved as an archive of the
winning source code that was available on the <a
href="https://www.ioccc.org">official IOCCC web site</a> as of 2020 Dec
28. These zip2 compressed tarballs represent the “<em>released</em>”
IOCCC winning source, as modified by the IOCCC judges and winning
authors as of <a
href="https://web.archive.org/web/20201228005211/https://www.ioccc.org/">2020
Dec 28</a>.</p>
<p>You might wish to note that the <a
href="/archive/historic/archive-all.tar.bz2">archive/historic/archive-all.tar.bz2</a>
file found in this archive produces a somewhat newer version of the
released IOCCC source for 1984, 1985, 1986 and 1987 in that the winners
for those years were still found in single year directories. Thus the <a
href="/archive/historic/archive-1984.tar.bz2">archive/historic/archive-1984.tar.bz2</a>,
<a
href="/archive/historic/archive-1985.tar.bz2">archive/historic/archive-1985.tar.bz2</a>,
<a
href="/archive/historic/archive-1986.tar.bz2">archive/historic/archive-1986.tar.bz2</a>,
<a
href="/archive/historic/archive-1987.tar.bz2">archive/historic/archive-1987.tar.bz2</a>,
zip2 compressed tarballs represent a somewhat earlier form of the
“<em>released</em>” IOCCC winning source for those years. This a
somewhat earlier set of IOCCC winning source may be found in the
archive/archive-YYYY.tar.bz2 files.</p>
<p>In addition the <code>archive/archive-all.tar.bz2</code> file has a
slightly newer version of the 2011 rules and guidelines. as well as a
newer version of 2012/tromp hint files.</p>
<p>For your convenience we keep an archive of the zip2 compressed
tarballs as found in the <a href="https://web.archive.org">Internet
Archive Wayback Machine</a> as of [2022 Dec
28)(https://web.archive.org/web/20201228005211/https://www.ioccc.org/).</p>
<h2 id="how-to-unpack">How to unpack</h2>
<p><em>HINT</em>: To uncompress a given bzip2 compressed tarball file,
use:</p>
<div class="sourceCode" id="cb1"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">tar</span> <span class="at">-jxvf</span> file.tar.bz2</span></code></pre></div>
<p>where “<em>file.tar.bz2</em>” is the name of a file found in this
directory.</p>
<p>To uncompress all of the 2022 Dec 28 archive using the year based
bzip2 compressed tarball files:</p>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="cf">for</span> year <span class="kw">in</span> 198<span class="dt">{4</span><span class="op">,</span><span class="dt">5</span><span class="op">,</span><span class="dt">6</span><span class="op">,</span><span class="dt">7</span><span class="op">,</span><span class="dt">8</span><span class="op">,</span><span class="dt">9}</span> 199<span class="dt">{0</span><span class="op">,</span><span class="dt">1</span><span class="op">,</span><span class="dt">2</span><span class="op">,</span><span class="dt">3</span><span class="op">,</span><span class="dt">4</span><span class="op">,</span><span class="dt">5</span><span class="op">,</span><span class="dt">6</span><span class="op">,</span><span class="dt">8}</span> 200<span class="dt">{0</span><span class="op">,</span><span class="dt">1</span><span class="op">,</span><span class="dt">4</span><span class="op">,</span><span class="dt">5</span><span class="op">,</span><span class="dt">6}</span> 201<span class="dt">{1</span><span class="op">,</span><span class="dt">2</span><span class="op">,</span><span class="dt">3</span><span class="op">,</span><span class="dt">4</span><span class="op">,</span><span class="dt">5</span><span class="op">,</span><span class="dt">8</span><span class="op">,</span><span class="dt">9}</span> 2020<span class="kw">;</span> <span class="cf">do</span></span>
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a> <span class="fu">rm</span> <span class="at">-rf</span> <span class="st">&quot;</span><span class="va">$year</span><span class="st">&quot;</span></span>
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a> <span class="fu">tar</span> <span class="at">-jxvf</span> <span class="st">&quot;archive-</span><span class="va">$year</span><span class="st">.tar.bz2&quot;</span></span>
<span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a><span class="cf">done</span></span></code></pre></div>
<!-- END: this line ends content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<!-- START: this line starts content from: inc/after-content.default.html -->
<!-- END: this line ends content from: inc/after-content.default.html -->
<!-- START: this line starts content from: inc/end-rightcolumn.default.html -->
</div>
<!-- END: this line ends content from: inc/end-rightcolumn.default.html -->
<!-- START: this line starts content from: inc/end-row.default.html -->
</div>
<!-- END: this line ends content from: inc/end-row.default.html -->
<!-- START: this line starts content from: inc/footer.default.html -->
<div class="footer">
<hr>
<h2>Coda</h2>
<p><a href="https://validator.w3.org/nu/?doc=https%3A%2F%2Fioccc-src.github.io%2Ftemp-test-ioccc%2Flocation.html">Nu HTML check this web page</a></p>
<p><a href="#top">Jump to top</a> <a href="#content">Jump to Content</a> <a href="#inventory">Jump to Inventory</a></p>
</div>
<!-- END: this line ends content from: inc/footer.default.html -->
<!-- START: this line starts content from: inc/bottom.default.html -->
</body>
</html>
<!-- END: this line ends content from: inc/bottom.default.html -->