built year level index.html files

Added `bin/all-years.sh` to run a command over all years.

Added `bin/gen-year-index.sh` to build an `index.html`
for a given year.

Added support code to build an `index.html`
for a given year.

Added `make gen_year_index` to to level Makefile
and related rules.

Using the above, added `index.html` files for all IOCCC years.

Updated `bin/README.md` according to the above.

Improved comments in `bin/all-run.sh`.

Exported TOPDIR in all `bin/` tools that use TOPDIR.

Removed incorrect lines in `bin/quick-readme2index.sh`
usage message.

Improve -v 3 printed important variables messages,
in order that important variables are exported,
from all `bin/` tools.

Rebuild all HTML pages via `make www`.
This commit is contained in:
Landon Curt Noll committed 2024-02-12 17:59:40 -08:00
1 parent cc73503c10
commit 64e4fd91ed
50 files changed
+9277 -83

No files matched your search

+254
View File
@@ -0,0 +1,254 @@
<!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: unspecified -->
<!-- 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>2004 - The 17th IOCCC</title>
<meta name="description" content="IOCCC Year 2004">
<meta name="keywords" content="IOCCC, 2004, IOCCC 2004, IOCCC entry, The 17th IOCCC">
</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>2004 - The 17th IOCCC</h2>
</div>
<!-- END: this line ends content from: inc/header.default.html -->
<!-- START: this line starts content from: inc/topnav.year.mid.html -->
<div class="topnav">
<a class="Left" href="../2001/index.html">&larr; 2001</a>
<a class="Left" href="../index.html">&uarr; top &uarr;</a>
<a class="Left" href="../2005/index.html">2005 &rarr;</a>
<a class="Right" href="#inventory">Inventory</a>
</div>
<!-- END: this line ends content from: inc/topnav.year.mid.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="../winners.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_a_winner">Fixing IOCCC winners</a>
<a href="../faq.html#fix_web_site">Fixing the web site</a>
<a href="../faq.html#fix_author">Fixing winner 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="seventeenth-international-obfuscated-c-code-contest">Seventeenth
International Obfuscated C Code Contest</h1>
<h2 id="standard-ioccc-stuff">Standard IOCCC stuff</h2>
<p>Look at the <code>README.md</code> file for the given winner for
information on how to compile the entry 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>The IOCCC has a web site and now has a number of international
mirrors. The primary site can be found at <a
href="https://www.ioccc.org/"
class="uri">https://www.ioccc.org/</a>.</p>
<p>Use <code>make(1)</code> to compile entries. It is possible that on
non-Unix / non-Linux systems the <code>Makefile</code> needs to be
changed. See the <code>Makefile</code> for details.</p>
<p>Read over the <code>Makefile</code> for compile/build issues. Your
system may require certain changes (add or remove a library, add or
remove a <code>#define</code>).</p>
<p>Some ANSI C compilers are not quite as good as they should be. If
yours is lacking, you may need to compile using <code>gcc</code> instead
of your local compiler.</p>
<h2 id="remarks-on-some-of-the-entries">Remarks on some of the
entries</h2>
<p>We believe you will be impressed with this year’s winners. The <a
href="gavin/gavin.c">Best of Show</a> is a fine example of obfuscation.
But don’t ignore the other winners! There are games, utilities, programs
that output images and a one-liner that is incredibly compact for what
it can do.</p>
<p>The <a href="hibachi/hibachi.c">Best Abuse of the Guidelines</a> is
technically allowed by the rules. This year we allowed it due to the
functionality of the program. This entry is one of the easiest to read!
Don’t assume you can win using similar techniques next time … :-)</p>
<p>This year a <a href="/winners.html#Daniel_Vik">single person</a> won
two awards! We also had repeat winners with their 6th, 4th and 2nd
winning entries this year! (Please note that judging is done completely
anonymously. Be warned that we may disqualify entries that reveal the
identity of the submitter.)</p>
<h3 id="remarks-on-some-losing-entries">Remarks on some losing
entries</h3>
<p>There were some outstanding entries that did not win. Unfortunately
some very good entries lost because they:</p>
<ul>
<li>depended too much on non-portable side effects in expressions;
and/or</li>
<li>depended too much on a particular byte order; and/or</li>
<li>required the use of a special script, data file or pseudo-machine
language that was not supplied with the entry.</li>
</ul>
<p>We hope the authors of some of those entries will fix and re-submit
them for the next IOCCC.</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>
<h1 id="copyright-and-license">Copyright and License</h1>
<p>Copyright (c) 2001,2004,2023, Landon Curt Noll, Peter Seebach and
Leonid A. Broukhis. 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 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>
<!-- 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 -->
<!-- START: this line starts content generated by: bin/output-year-index.sh -->
<h1
id="winning-entries-of-2004---the-17th-ioccc"><a name=inventory></a><a name=2004></a>Winning
Entries of 2004 - The 17th IOCCC</h1>
<p><strong>Download IOCCC</strong> <a
href="2004/ioccc.2004.tar.bz2">2004 entry source</a></p>
<ul>
<li><a href="2004/anonymous/index.html">2004/anonymous</a> - “Best use
of”“Precious”” Lines”</li>
<li><a href="2004/arachnid/index.html">2004/arachnid</a> - Best use of
Vision</li>
<li><a href="2004/burley/index.html">2004/burley</a> - Best Calculated
Risk</li>
<li><a href="2004/gavare/index.html">2004/gavare</a> - Best Use of Light
and Spheres</li>
<li><a href="2004/gavin/index.html">2004/gavin</a> - Best of Show</li>
<li><a href="2004/hibachi/index.html">2004/hibachi</a> - Best Abuse of
the Guidelines</li>
<li><a href="2004/hoyle/index.html">2004/hoyle</a> - Most Functional
Output</li>
<li><a href="2004/jdalbec/index.html">2004/jdalbec</a> - Best Abuse of
the Periodic Table</li>
<li><a href="2004/kopczynski/index.html">2004/kopczynski</a> - Best
One-Liner</li>
<li><a href="2004/newbern/index.html">2004/newbern</a> - Best Font
Engine</li>
<li><a href="2004/omoikane/index.html">2004/omoikane</a> - Best
Utility</li>
<li><a href="2004/schnitzi/index.html">2004/schnitzi</a> - Best Non-Use
of Curses</li>
<li><a href="2004/sds/index.html">2004/sds</a> - Best Abuse of
Indentation</li>
<li><a href="2004/vik1/index.html">2004/vik1</a> - Best X11 Game</li>
<li><a href="2004/vik2/index.html">2004/vik2</a> - Best Abuse of
CPP</li>
</ul>
<p> <strong>Jump to:</strong> <a href="#">top</a></p>
<!-- END: next line ends content generated by: bin/output-year-index.sh -->
<!-- END: this line ends content for HTML phase 22 by: bin/output-year-index.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=#">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 -->