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:
1 parent
91c55a20fd
commit
2b92c89be8
1811 files changed
+11313
-9962
No files matched your search
+1
-1
@@ -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.
|
||||
#
|
||||
|
||||
+17
-13
@@ -3,9 +3,12 @@
|
||||
|
||||
## Standard IOCCC stuff
|
||||
|
||||
The primary IOCCC web site can be found at,
|
||||
View the `index.html` web page for the given winning entry for information on how
|
||||
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.
|
||||
|
||||
> <https://www.ioccc.org/>
|
||||
The primary site can be found at [www.ioccc.org](https://www.ioccc.org).
|
||||
|
||||
Use `make` to compile entries. It is possible that on non-Unix / non-Linux
|
||||
systems the Makefile needs to be changed. See the Makefile for details.
|
||||
@@ -23,30 +26,31 @@ lacking, you may need to compile using clang or gcc instead of your local
|
||||
compiler.
|
||||
|
||||
|
||||
## Remarks on some of the winners
|
||||
## Remarks on some of the winning entries
|
||||
|
||||
We believe you will again be impressed with this year's winners.
|
||||
We believe you will again be impressed with this year's winning entries.
|
||||
|
||||
The "Best of show" (mills) is an amazing tribute to winners
|
||||
The "Best of show" (mills) is an amazing tribute to entrues
|
||||
from 1984 and 2015.
|
||||
|
||||
Take a close look at the "Most likely to top the charts" (hou) winner.
|
||||
Take a close look at the "Most likely to top the charts" [2018/hou](hou/index.html)
|
||||
Observe that while it contains no variables and no operators, it
|
||||
remains functional in what it does.
|
||||
|
||||
The "Best one-liner" (burton1), at 109 characters, is a short and sweet
|
||||
implementation of a classic utility and a nod to a winner from 1986.
|
||||
implementation of a classic utility and a nod to a winning entry from 1986.
|
||||
Sometimes it takes 20 ox years to do things the true IOCCC way.
|
||||
|
||||
The color of the remarks text this year was inspired by one of the stars
|
||||
of the "Most stellar" winner (poikola).
|
||||
of the "Most stellar" [2018/poikola](poikola/index.html).
|
||||
|
||||
The "Best use of python" (endoh2) is a not what you might think it is.
|
||||
It is something completely different.
|
||||
|
||||
The "Most likely to be awarded" (ciura) has an amazing vocabulary!
|
||||
|
||||
There are also nods to winners of the years 2000 (bellard), 1989 (yang), ...
|
||||
There are also nods to entries of the years [2000/bellard](2000/bellard/index.htmk),
|
||||
[1989/yang](1989/yang/index.html), ...
|
||||
|
||||
...We'll stop spouting spoilers now. Have fun exploring all the entries!
|
||||
|
||||
@@ -87,9 +91,9 @@ the idea was limited in scope.
|
||||
|
||||
## 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
|
||||
@@ -97,5 +101,5 @@ See also [the IOCCC FAQ](/faq.html) for addition information on the IOCCC.
|
||||
Copyright (C) 2018,2023, Landon Curt Noll and Leonid A. Broukhis. 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).
|
||||
@@ -51,7 +51,7 @@
|
||||
},
|
||||
{
|
||||
"file_path" : "2018_algmyr.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
"inventory_order" : 100000,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "tbz2",
|
||||
"display_via_github" : false,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# sort with: ../../bin/sgi
|
||||
# sort with: ../../bin/sgi.sh
|
||||
*.dSYM
|
||||
*.wav
|
||||
indent
|
||||
|
||||
@@ -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,7 +6,7 @@ make
|
||||
|
||||
To use this entry requires, in some invocations, a sound processing program.
|
||||
This can be ALSA or SoX but we recommend the latter. See [FAQ 3.10 - How do I
|
||||
compile and use an IOCCC winner that requires sound?](/faq.md#sox).
|
||||
compile and use an IOCCC entry that requires sound?](../../faq.html#sox).
|
||||
|
||||
|
||||
### Bugs and (Mis)features:
|
||||
@@ -17,7 +17,7 @@ The current status of this entry is:
|
||||
STATUS: INABIAF - please **DO NOT** fix
|
||||
```
|
||||
|
||||
For more detailed information see [2018 algmyr in bugs.md](/bugs.md#2018-algmyr).
|
||||
For more detailed information see [2018 algmyr bugs](../../bugs.html#2018_algmyr).
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
<a class="Left Disabled" href="#">first entry</a>
|
||||
<a class="Left" href="../index.html">↑ 2018 ↑</a>
|
||||
<a class="Left" href="../anderson/index.html">anderson →</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/algmyr/prog.c">C code</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/algmyr/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#Anton_Algmyr">Anton Älgmyr</a><br>
|
||||
Location: <a href="../../location.html#SE">SE</a> <br><br></li>
|
||||
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 -->
|
||||
@@ -129,13 +133,13 @@ Location: <a href="../../location.html#SE">SE</a> <br><br></li>
|
||||
<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">make</span></span></code></pre></div>
|
||||
<p>To use this entry requires, in some invocations, a sound processing
|
||||
program. This can be ALSA or SoX but we recommend the latter. See <a
|
||||
href="/faq.md#sox">FAQ 3.10 - How do I compile and use an IOCCC winner
|
||||
that requires sound?</a>.</p>
|
||||
href="../../faq.html#sox">FAQ 3.10 - How do I compile and use an IOCCC
|
||||
entry that requires sound?</a>.</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#2018-algmyr">2018
|
||||
algmyr in bugs.md</a>.</p>
|
||||
<p>For more detailed information see <a
|
||||
href="../../bugs.html#2018_algmyr">2018 algmyr 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">./prog</span> <span class="op"><</span> prog.c <span class="co"># Print garbage: might mess up your terminal</span></span>
|
||||
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a><span class="ex">./prog</span> <span class="op"><</span>file1<span class="op">></span> <span class="op"><</span>file2<span class="op">></span> <span class="op">></span> out.raw</span>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
},
|
||||
{
|
||||
"file_path" : "2018_anderson.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
"inventory_order" : 100000,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "tbz2",
|
||||
"display_via_github" : false,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# sort with: ../../bin/sgi
|
||||
# sort with: ../../bin/sgi.sh
|
||||
*.dSYM
|
||||
indent
|
||||
indent.c
|
||||
|
||||
@@ -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.
|
||||
#
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
<a class="Left" href="../algmyr/index.html">← algmyr</a>
|
||||
<a class="Left" href="../index.html">↑ 2018 ↑</a>
|
||||
<a class="Left" href="../bellard/index.html">bellard →</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/anderson/prog.c">C code</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/anderson/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#Derek_Anderson">Derek
|
||||
Anderson</a><br> Location: <a href="../../location.html#US">US</a>
|
||||
<br><br></li>
|
||||
Anderson</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 -->
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
},
|
||||
{
|
||||
"file_path" : "2018_bellard.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
"inventory_order" : 100000,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "tbz2",
|
||||
"display_via_github" : false,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# sort with: ../../bin/sgi
|
||||
# sort with: ../../bin/sgi.sh
|
||||
*.dSYM
|
||||
fruits.ppm
|
||||
indent
|
||||
|
||||
@@ -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.
|
||||
#
|
||||
|
||||
@@ -28,9 +28,9 @@ graphics viewer of choice. After that try:
|
||||
NOTE: the script uses the tools `pngtopam(1)` (or `pngtopnm(1)` for older
|
||||
versions) and `pnmscale` come from the netpbm project and `cjpeg(1)` comes from
|
||||
`libjpeg-turbo`. If you don't have these tools already see [FAQ 3.15 - How do I
|
||||
compile and install netpbm for entries that require it?](/faq.md#netpbm) and
|
||||
compile and install netpbm for entries that require it?](../../faq.html#netpbm) and
|
||||
[FAQ 3.16 - How do I compile and install libjpeg-turbo for entries that require
|
||||
it?](/faq.md#libjpeg).
|
||||
it?](../../faq.html#libjpeg).
|
||||
|
||||
NOTE: [Lenna.png](Lenna.png) is from
|
||||
<https://upload.wikimedia.org/wikipedia/en/7/7d/Lenna_%28test_image%29.png>.
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
<a class="Left" href="../anderson/index.html">← anderson</a>
|
||||
<a class="Left" href="../index.html">↑ 2018 ↑</a>
|
||||
<a class="Left" href="../burton1/index.html">burton1 →</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/bellard/prog.c">C code</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/bellard/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#Fabrice_Bellard">Fabrice
|
||||
Bellard</a><br> Location: <a href="../../location.html#FR">FR</a>
|
||||
<br><br></li>
|
||||
Bellard</a><br> Location: <a href="../../location.html#FR">FR</a> -
|
||||
<em>French Republic</em> (<em>France</em>) <br><br></li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
|
||||
@@ -142,10 +145,10 @@ graphics viewer of choice. After that try:</p>
|
||||
<code>pngtopnm(1)</code> for older versions) and <code>pnmscale</code>
|
||||
come from the netpbm project and <code>cjpeg(1)</code> comes from
|
||||
<code>libjpeg-turbo</code>. If you don’t have these tools already see <a
|
||||
href="/faq.md#netpbm">FAQ 3.15 - How do I compile and install netpbm for
|
||||
entries that require it?</a> and <a href="/faq.md#libjpeg">FAQ 3.16 -
|
||||
How do I compile and install libjpeg-turbo for entries that require
|
||||
it?</a>.</p>
|
||||
href="../../faq.html#netpbm">FAQ 3.15 - How do I compile and install
|
||||
netpbm for entries that require it?</a> and <a
|
||||
href="../../faq.html#libjpeg">FAQ 3.16 - How do I compile and install
|
||||
libjpeg-turbo for entries that require it?</a>.</p>
|
||||
<p>NOTE: <a href="Lenna.png">Lenna.png</a> is from <a
|
||||
href="https://upload.wikimedia.org/wikipedia/en/7/7d/Lenna_%28test_image%29.png"
|
||||
class="uri">https://upload.wikimedia.org/wikipedia/en/7/7d/Lenna_%28test_image%29.png</a>.</p>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
},
|
||||
{
|
||||
"file_path" : "2018_burton1.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
"inventory_order" : 100000,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "tbz2",
|
||||
"display_via_github" : false,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# sort with: ../../bin/sgi
|
||||
# sort with: ../../bin/sgi.sh
|
||||
*.dSYM
|
||||
indent
|
||||
indent.c
|
||||
|
||||
@@ -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.
|
||||
#
|
||||
|
||||
@@ -60,7 +60,7 @@ This code has been compiled and tested on:
|
||||
* X86-Linux, gcc 4.1.2 and 4.8.4, -O0 and -O3
|
||||
* ARM-QEMU, gcc 4.8.4, -O0 and -O3
|
||||
* X86-FreeBSD 10.3, clang 3.4.1, -O0 and -O3
|
||||
* TCC 0.9.26 (x86-64) (used as a proxy for [2001/bellard](/years.html#2001_bellard))
|
||||
* TCC 0.9.26 (x86-64) (used as a proxy for [2001/bellard](../../years.html#2001_bellard))
|
||||
* UNIX V7 pcc (Johnson's C compiler) on a [simulated PDP-11/45](http://simh.trailing-edge.com/)
|
||||
(see spoiler for further detail)
|
||||
|
||||
@@ -167,7 +167,7 @@ $
|
||||
```
|
||||
|
||||
An obfuscated hex dump has been done before:
|
||||
[1986/bright](/1986/bright/README.md) is similar in function,
|
||||
[1986/bright](../../1986/bright/index.html) is similar in function,
|
||||
but it uses more characters in just setting up its obfuscation than this entire
|
||||
solution!
|
||||
|
||||
@@ -200,8 +200,7 @@ bytes following `O`, addressed via `o`, and this code only needs 17. This is
|
||||
_undefined_ behavior, but as shown, it is widely available.
|
||||
|
||||
The [1979 Seventh Edition UNIX][1] (v7) system pre-dates the IOCCC by several years,
|
||||
and the source code to `sh`(1) was a [significant inspiration for this
|
||||
contest](/all/README.md).
|
||||
and the source code to `sh`(1) was a [significant inspiration for this contest](../../faq.html#ioccc_start).
|
||||
There are two C compilers present: `cc` written by Dennis Ritchie, and `pcc` written by Steven Johnson.
|
||||
The nested conditional expressions in 116 and smaller are too complex for `cc` ("Illegal conditional")
|
||||
but `pcc` handles them correctly, and neither compiler accepts `char o[]` or
|
||||
|
||||
+13
-9
@@ -45,6 +45,8 @@
|
||||
<a class="Left" href="../bellard/index.html">← bellard</a>
|
||||
<a class="Left" href="../index.html">↑ 2018 ↑</a>
|
||||
<a class="Left" href="../burton2/index.html">burton2 →</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/burton1/prog.c">C code</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/burton1/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_Burton">Dave Burton</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 -->
|
||||
@@ -158,7 +162,7 @@ and allows salt-to-taste customizability.</p>
|
||||
<li>ARM-QEMU, gcc 4.8.4, -O0 and -O3</li>
|
||||
<li>X86-FreeBSD 10.3, clang 3.4.1, -O0 and -O3</li>
|
||||
<li>TCC 0.9.26 (x86-64) (used as a proxy for <a
|
||||
href="/years.html#2001_bellard">2001/bellard</a>)</li>
|
||||
href="../../years.html#2001_bellard">2001/bellard</a>)</li>
|
||||
<li>UNIX V7 pcc (Johnson’s C compiler) on a <a
|
||||
href="http://simh.trailing-edge.com/">simulated PDP-11/45</a> (see
|
||||
spoiler for further detail)</li>
|
||||
@@ -243,9 +247,9 @@ remove characters by changing code than by filtering:</p>
|
||||
<span id="cb9-6"><a href="#cb9-6" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> verify 108</span>
|
||||
<span id="cb9-7"><a href="#cb9-7" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span></span></code></pre></div>
|
||||
<p>An obfuscated hex dump has been done before: <a
|
||||
href="/1986/bright/README.md">1986/bright</a> is similar in function,
|
||||
but it uses more characters in just setting up its obfuscation than this
|
||||
entire solution!</p>
|
||||
href="../../1986/bright/index.html">1986/bright</a> is similar in
|
||||
function, but it uses more characters in just setting up its obfuscation
|
||||
than this entire solution!</p>
|
||||
<h3 id="bigger-spoiler">BIGGER SPOILER:</h3>
|
||||
<p>If you are unhappy with the way DEL (character 127) is handled,
|
||||
replace the cryptic expression <code>4<(4^l>>5)?l:46</code>
|
||||
@@ -276,10 +280,10 @@ available.</p>
|
||||
<p>The <a href="http://minnie.tuhs.org/cgi-bin/utree.pl">1979 Seventh
|
||||
Edition UNIX</a> (v7) system pre-dates the IOCCC by several years, and
|
||||
the source code to <code>sh</code>(1) was a <a
|
||||
href="/all/README.md">significant inspiration for this contest</a>.
|
||||
There are two C compilers present: <code>cc</code> written by Dennis
|
||||
Ritchie, and <code>pcc</code> written by Steven Johnson. The nested
|
||||
conditional expressions in 116 and smaller are too complex for
|
||||
href="../../faq.html#ioccc_start">significant inspiration for this
|
||||
contest</a>. There are two C compilers present: <code>cc</code> written
|
||||
by Dennis Ritchie, and <code>pcc</code> written by Steven Johnson. The
|
||||
nested conditional expressions in 116 and smaller are too complex for
|
||||
<code>cc</code> (“Illegal conditional”) but <code>pcc</code> handles
|
||||
them correctly, and neither compiler accepts <code>char o[]</code> or
|
||||
<code>char o[0]</code> and neither put the bytes in a zero-filled page
|
||||
|
||||
@@ -433,14 +433,6 @@
|
||||
"display_via_github" : true,
|
||||
"entry_text" : "summarize the results of spotcheck"
|
||||
},
|
||||
{
|
||||
"file_path" : "2018_burton2.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "tbz2",
|
||||
"display_via_github" : false,
|
||||
"entry_text" : "download entry source"
|
||||
},
|
||||
{
|
||||
"file_path" : "src.doc.txt",
|
||||
"inventory_order" : 300,
|
||||
@@ -449,6 +441,14 @@
|
||||
"display_via_github" : true,
|
||||
"entry_text" : "SPOILER WARNING hints about the source"
|
||||
},
|
||||
{
|
||||
"file_path" : "2018_burton2.tar.bz2",
|
||||
"inventory_order" : 100000,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "tbz2",
|
||||
"display_via_github" : false,
|
||||
"entry_text" : "download entry source"
|
||||
},
|
||||
{
|
||||
"file_path" : "index.html",
|
||||
"inventory_order" : 2000000000,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# sort with: ../../bin/sgi
|
||||
# sort with: ../../bin/sgi.sh
|
||||
*.dSYM
|
||||
fixed_iocccsize
|
||||
indent
|
||||
|
||||
@@ -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.
|
||||
#
|
||||
|
||||
@@ -28,7 +28,7 @@ man ./tac.1
|
||||
## Judges' remarks:
|
||||
|
||||
They say size isn't everything, and in the case of IOCCC
|
||||
[iocccsize.c](https://www.ioccc.org/2018/iocccsize.c) that is saying something!
|
||||
[iocccsize.c](../../2018/iocccsize.c) that is saying something!
|
||||
What is this program weighing and how much does it weigh?
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ Fixing this properly hampers backwards compatibility in counting. This requires
|
||||
eliding comments during the translation phases (ISO 5.1.1.2, phase 3), and yet still
|
||||
counting words correctly absent `-k`.
|
||||
|
||||
[1]: /2014/birken/README.md "Best use of port 1701"
|
||||
[1]: ../../2014/birken/index.html "Best use of port 1701"
|
||||
|
||||
|
||||
### Backwards Compatibility:
|
||||
@@ -133,7 +133,7 @@ find ~/src/obc -type f -name \*.c | wc
|
||||
```
|
||||
|
||||
The discrepancies found are documented and explained in the file
|
||||
[discrepancies.md](discrepancies.md).
|
||||
[discrepancies.html](discrepancies.html).
|
||||
|
||||
```sh
|
||||
find ~/src/obc -type f -a -name "*.c" | xargs ./spotcheck.sh ./prog | ./spotdiff.sh |
|
||||
@@ -143,7 +143,7 @@ find ~/src/obc -type f -a -name "*.c" | xargs ./spotcheck.sh ./prog | ./spotdiff
|
||||
In summary, there are only 6 unique entries out of 366 that have any variation
|
||||
in Rule 2 counts; in all cases, the differences are due to bugs within
|
||||
`iocccsize`, described in detail in the file
|
||||
[discrepancies.md](discrepancies.md). There are only 40
|
||||
[discrepancies.html](discrepancies.html). There are only 40
|
||||
files (40/366, ~11%, including originals and variations) that differ at all, 31
|
||||
only in word count; most word count differences appear related to comment block
|
||||
detection, weighted more towards recent entries (2011 and onward = 20/40 ~50%).
|
||||
@@ -164,10 +164,10 @@ determine which tool was correct when there were differences.
|
||||
> Nevertheless, the more clearly written code remains a spoiler for this entry.
|
||||
|
||||
NB: `iocccsize` gets a different answer from `tac` on its own
|
||||
([iocccsize.c](/2018/iocccsize.c)) source code;
|
||||
([iocccsize.c](../../2018/iocccsize.c)) source code;
|
||||
`tac` gets the correct answer. This is due to the aforementioned bugs within `iocccsize`,
|
||||
proved by fixing
|
||||
[iocccsize.c](/2018/iocccsize.c) with the included patch, so `iocccsize` reports
|
||||
[iocccsize.c](../../2018/iocccsize.c) with the included patch, so `iocccsize` reports
|
||||
the correct answer for itself.
|
||||
|
||||
### But wait... There's More!
|
||||
@@ -292,7 +292,7 @@ sed 's/^# .*$//' | sed 's/^#//' |
|
||||
* The code describes its function by careful arrangement of variables up front...
|
||||
* ...coupled with a description of the typical IOCCC contestant, or at least the author
|
||||
* Why shouldn't trigraph parsing be written in trigraph?
|
||||
* Where [iocccsize.c](/2018/iocccsize.c) mocks, this code flaunts:
|
||||
* Where [iocccsize.c](../../2018/iocccsize.c) mocks, this code flaunts:
|
||||
"_no matter how well you may think you understand this code, you don't, so don't mess with it. :-)_"
|
||||
* `O,0,l,1` are used to confusing effect, local names obscure global names.
|
||||
* Globals are used to pass information between routines: don't reorder "unrelated" statements....
|
||||
@@ -337,7 +337,7 @@ The following reserved word files are included:
|
||||
* [ioccc.kw.freq](ioccc.kw.freq) c11 + additional words, sorted on frequency of occurrence in IOCCC entries
|
||||
|
||||
|
||||
NB: The keyword file used in this code is derived from the list in [iocccsize.c](https://www.ioccc.org/2018/iocccsize.c),
|
||||
NB: The keyword file used in this code is derived from the list in [iocccsize.c](../../2018/iocccsize.c),
|
||||
which is neither complete (`#define`, `#ifndef`, `#undef` are missing
|
||||
-- yes, Virginia knows about `#define` omitted on purpose),
|
||||
nor correct (many more are added: `I`, `true`, `bool`, `compl`, ...):
|
||||
@@ -389,7 +389,7 @@ cc -ansi -Wall -trigraphs -Wno-trigraphs -Wno-parentheses -Wno-empty-body -Wno-c
|
||||
|
||||
### Coda:
|
||||
|
||||
[Cody Boone Ferguson](/authors.html#Cody_Boone_Ferguson) was relentless in his pursuit of bugs.
|
||||
[Cody Boone Ferguson](../../authors.html#Cody_Boone_Ferguson) was relentless in his pursuit of bugs.
|
||||
Thanks to his reports, the version of [unob.sh](unob.sh) is stronger,
|
||||
`tac` groks digraphs, [tokenfix.sh](tokenfix.sh) corrects for missing digraphs
|
||||
in [prog.c](prog.c), and the program [manpage.sh](manpage.sh) was added to the corpus.
|
||||
|
||||
@@ -66,6 +66,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">
|
||||
|
||||
+36
-34
@@ -45,6 +45,8 @@
|
||||
<a class="Left" href="../burton1/index.html">← burton1</a>
|
||||
<a class="Left" href="../index.html">↑ 2018 ↑</a>
|
||||
<a class="Left" href="../ciura/index.html">ciura →</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/burton2/prog.c">C code</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/burton2/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_Burton">Dave Burton</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 -->
|
||||
@@ -135,9 +139,8 @@ Location: <a href="../../location.html#US">US</a> <br><br></li>
|
||||
<div class="sourceCode" id="cb4"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="fu">man</span> ./tac.1</span></code></pre></div>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
<p>They say size isn’t everything, and in the case of IOCCC <a
|
||||
href="https://www.ioccc.org/2018/iocccsize.c">iocccsize.c</a> that is
|
||||
saying something! What is this program weighing and how much does it
|
||||
weigh?</p>
|
||||
href="../../2018/iocccsize.c">iocccsize.c</a> that is saying something!
|
||||
What is this program weighing and how much does it weigh?</p>
|
||||
<h2 id="authors-remarks">Author’s remarks:</h2>
|
||||
<h3 id="tac---tokenize-and-count-c-and-derivative-languages">tac -
|
||||
tokenize and count C and derivative languages:</h3>
|
||||
@@ -219,8 +222,8 @@ double quote in <code>iocccsize</code>)</li>
|
||||
<code>#ifdef</code> is allowed?)</li>
|
||||
<li><code>I</code> is not a reserved word.</li>
|
||||
<li><code>tac</code> correctly penetrates <a
|
||||
href="/2014/birken/README.md" title="Best use of port 1701">23rd century
|
||||
cloaking technology</a>. ;-)</li>
|
||||
href="../../2014/birken/index.html" title="Best use of port 1701">23rd
|
||||
century cloaking technology</a>. ;-)</li>
|
||||
</ul>
|
||||
<p>There is one (known) remaining problem with detection:</p>
|
||||
<ul>
|
||||
@@ -238,17 +241,17 @@ This requires eliding comments during the translation phases (ISO
|
||||
entries:</p>
|
||||
<div class="sourceCode" id="cb6"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="fu">find</span> ~/src/obc <span class="at">-type</span> f <span class="at">-name</span> <span class="dt">\*</span>.c <span class="kw">|</span> <span class="fu">wc</span></span></code></pre></div>
|
||||
<p>The discrepancies found are documented and explained in the file <a
|
||||
href="discrepancies.md">discrepancies.md</a>.</p>
|
||||
href="discrepancies.html">discrepancies.html</a>.</p>
|
||||
<div class="sourceCode" id="cb7"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true" tabindex="-1"></a><span class="fu">find</span> ~/src/obc <span class="at">-type</span> f <span class="at">-a</span> <span class="at">-name</span> <span class="st">"*.c"</span> <span class="kw">|</span> <span class="fu">xargs</span> ./spotcheck.sh ./prog <span class="kw">|</span> <span class="ex">./spotdiff.sh</span> <span class="kw">|</span></span>
|
||||
<span id="cb7-2"><a href="#cb7-2" aria-hidden="true" tabindex="-1"></a> <span class="fu">grep</span> <span class="at">-v</span> keep <span class="kw">|</span> <span class="fu">diff</span> <span class="at">-bw</span> <span class="at">-</span> discrep<span class="pp">*</span> <span class="kw">|</span> <span class="fu">grep</span> <span class="st">"[<>] cl "</span></span></code></pre></div>
|
||||
<p>In summary, there are only 6 unique entries out of 366 that have any
|
||||
variation in Rule 2 counts; in all cases, the differences are due to
|
||||
bugs within <code>iocccsize</code>, described in detail in the file <a
|
||||
href="discrepancies.md">discrepancies.md</a>. There are only 40 files
|
||||
(40/366, ~11%, including originals and variations) that differ at all,
|
||||
31 only in word count; most word count differences appear related to
|
||||
comment block detection, weighted more towards recent entries (2011 and
|
||||
onward = 20/40 ~50%).</p>
|
||||
href="discrepancies.html">discrepancies.html</a>. There are only 40
|
||||
files (40/366, ~11%, including originals and variations) that differ at
|
||||
all, 31 only in word count; most word count differences appear related
|
||||
to comment block detection, weighted more towards recent entries (2011
|
||||
and onward = 20/40 ~50%).</p>
|
||||
<p>This (minor) variation in word count values has not been addressed
|
||||
since it is not a qualifying metric, nor is it very useful in a
|
||||
programming context: whitespace surrounds English words, not necessarily
|
||||
@@ -269,11 +272,11 @@ entry.</p>
|
||||
</blockquote>
|
||||
<p>NB: <code>iocccsize</code> gets a different answer from
|
||||
<code>tac</code> on its own (<a
|
||||
href="/2018/iocccsize.c">iocccsize.c</a>) source code; <code>tac</code>
|
||||
gets the correct answer. This is due to the aforementioned bugs within
|
||||
<code>iocccsize</code>, proved by fixing <a
|
||||
href="/2018/iocccsize.c">iocccsize.c</a> with the included patch, so
|
||||
<code>iocccsize</code> reports the correct answer for itself.</p>
|
||||
href="../../2018/iocccsize.c">iocccsize.c</a>) source code;
|
||||
<code>tac</code> gets the correct answer. This is due to the
|
||||
aforementioned bugs within <code>iocccsize</code>, proved by fixing <a
|
||||
href="../../2018/iocccsize.c">iocccsize.c</a> with the included patch,
|
||||
so <code>iocccsize</code> reports the correct answer for itself.</p>
|
||||
<h3 id="but-wait-theres-more">But wait… There’s More!</h3>
|
||||
<p>There is no limit on line length, file length, comment length, or
|
||||
identifier length.</p>
|
||||
@@ -388,9 +391,9 @@ variables up front…</p></li>
|
||||
<li><p>…coupled with a description of the typical IOCCC contestant, or
|
||||
at least the author</p></li>
|
||||
<li><p>Why shouldn’t trigraph parsing be written in trigraph?</p></li>
|
||||
<li><p>Where <a href="/2018/iocccsize.c">iocccsize.c</a> mocks, this
|
||||
code flaunts: “<em>no matter how well you may think you understand this
|
||||
code, you don’t, so don’t mess with it. :-)</em>”</p></li>
|
||||
<li><p>Where <a href="../../2018/iocccsize.c">iocccsize.c</a> mocks,
|
||||
this code flaunts: “<em>no matter how well you may think you understand
|
||||
this code, you don’t, so don’t mess with it. :-)</em>”</p></li>
|
||||
<li><p><code>O,0,l,1</code> are used to confusing effect, local names
|
||||
obscure global names.</p></li>
|
||||
<li><p>Globals are used to pass information between routines: don’t
|
||||
@@ -442,12 +445,11 @@ class="uri">http://docs.oracle.com/javase/specs/index.html</a></li>
|
||||
sorted on frequency of occurrence in IOCCC entries</li>
|
||||
</ul>
|
||||
<p>NB: The keyword file used in this code is derived from the list in <a
|
||||
href="https://www.ioccc.org/2018/iocccsize.c">iocccsize.c</a>, which is
|
||||
neither complete (<code>#define</code>, <code>#ifndef</code>,
|
||||
<code>#undef</code> are missing – yes, Virginia knows about
|
||||
<code>#define</code> omitted on purpose), nor correct (many more are
|
||||
added: <code>I</code>, <code>true</code>, <code>bool</code>,
|
||||
<code>compl</code>, …):</p>
|
||||
href="../../2018/iocccsize.c">iocccsize.c</a>, which is neither complete
|
||||
(<code>#define</code>, <code>#ifndef</code>, <code>#undef</code> are
|
||||
missing – yes, Virginia knows about <code>#define</code> omitted on
|
||||
purpose), nor correct (many more are added: <code>I</code>,
|
||||
<code>true</code>, <code>bool</code>, <code>compl</code>, …):</p>
|
||||
<div class="sourceCode" id="cb13"><pre
|
||||
class="sourceCode sh"><code class="sourceCode bash"><span id="cb13-1"><a href="#cb13-1" aria-hidden="true" tabindex="-1"></a><span class="kw">(</span><span class="fu">sed</span> <span class="at">-n</span> <span class="st">'1p'</span> c11<span class="kw">;</span> <span class="fu">sed</span> <span class="at">-n</span> <span class="st">'2,$p'</span> ioccc.kw.freq <span class="kw">|</span> <span class="fu">sort</span><span class="kw">)</span> <span class="kw">|</span> <span class="fu">comm</span> <span class="at">-3</span> <span class="at">-</span> c11</span></code></pre></div>
|
||||
<p>That is an obfuscated way to say “diff”. But it also more clearly
|
||||
@@ -489,12 +491,12 @@ ASCII characters.</p>
|
||||
<div class="sourceCode" id="cb14"><pre
|
||||
class="sourceCode sh"><code class="sourceCode bash"><span id="cb14-1"><a href="#cb14-1" aria-hidden="true" tabindex="-1"></a><span class="fu">cc</span> <span class="at">-ansi</span> <span class="at">-Wall</span> <span class="at">-trigraphs</span> <span class="at">-Wno-trigraphs</span> <span class="at">-Wno-parentheses</span> <span class="at">-Wno-empty-body</span> <span class="at">-Wno-char-subscripts</span> <span class="at">-Wno-pointer-sign</span> <span class="at">-DU</span><span class="op">=</span>O <span class="at">-DW</span><span class="op">=</span><span class="dt">\"</span>keywords<span class="dt">\"</span> <span class="at">-o</span> prog prog.c</span></code></pre></div>
|
||||
<h3 id="coda">Coda:</h3>
|
||||
<p><a href="/authors.html#Cody_Boone_Ferguson">Cody Boone Ferguson</a>
|
||||
was relentless in his pursuit of bugs. Thanks to his reports, the
|
||||
version of <a href="unob.sh">unob.sh</a> is stronger, <code>tac</code>
|
||||
groks digraphs, <a href="tokenfix.sh">tokenfix.sh</a> corrects for
|
||||
missing digraphs in <a href="prog.c">prog.c</a>, and the program <a
|
||||
href="manpage.sh">manpage.sh</a> was added to the corpus.</p>
|
||||
<p><a href="../../authors.html#Cody_Boone_Ferguson">Cody Boone
|
||||
Ferguson</a> was relentless in his pursuit of bugs. Thanks to his
|
||||
reports, the version of <a href="unob.sh">unob.sh</a> is stronger,
|
||||
<code>tac</code> groks digraphs, <a href="tokenfix.sh">tokenfix.sh</a>
|
||||
corrects for missing digraphs in <a href="prog.c">prog.c</a>, and the
|
||||
program <a href="manpage.sh">manpage.sh</a> was added to the corpus.</p>
|
||||
<p><a href="manpage.sh">manpage.sh</a> is a useful program that turns
|
||||
ASCII versions of man pages (e.g. <a href="tac.man">tac.man</a>) into
|
||||
real man pages. It works for C and C-like languages, command lines, and
|
||||
@@ -690,11 +692,11 @@ href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/burton2/v7un
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/burton2/spotdiff.sh">spotdiff.sh</a>
|
||||
- summarize the results of spotcheck</li>
|
||||
<li><a href="2018_burton2.tar.bz2">2018_burton2.tar.bz2</a> - download
|
||||
entry source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/burton2/src.doc.txt">src.doc.txt</a>
|
||||
- SPOILER WARNING hints about the source</li>
|
||||
<li><a href="2018_burton2.tar.bz2">2018_burton2.tar.bz2</a> - download
|
||||
entry source</li>
|
||||
</ul>
|
||||
<h2 id="secondary-files">Secondary files</h2>
|
||||
<ul>
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
},
|
||||
{
|
||||
"file_path" : "2018_ciura.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
"inventory_order" : 100000,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "tbz2",
|
||||
"display_via_github" : false,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# sort with: ../../bin/sgi
|
||||
# sort with: ../../bin/sgi.sh
|
||||
*.dSYM
|
||||
indent
|
||||
indent.c
|
||||
|
||||
+1
-1
@@ -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.
|
||||
#
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
<a class="Left" href="../burton2/index.html">← burton2</a>
|
||||
<a class="Left" href="../index.html">↑ 2018 ↑</a>
|
||||
<a class="Left" href="../endoh1/index.html">endoh1 →</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/ciura/prog.c">C code</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/ciura/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#Marcin_Ciura">Marcin Ciura</a><br>
|
||||
Location: <a href="../../location.html#PL">PL</a> <br><br></li>
|
||||
Location: <a href="../../location.html#PL">PL</a> - <em>Republic of
|
||||
Poland</em> (<em>Poland</em>) <br><br></li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
},
|
||||
{
|
||||
"file_path" : "2018_endoh1.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
"inventory_order" : 100000,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "tbz2",
|
||||
"display_via_github" : false,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# sort with: ../../bin/sgi
|
||||
# sort with: ../../bin/sgi.sh
|
||||
*.dSYM
|
||||
golem.gif
|
||||
indent
|
||||
|
||||
@@ -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.
|
||||
#
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
<a class="Left" href="../ciura/index.html">← ciura</a>
|
||||
<a class="Left" href="../index.html">↑ 2018 ↑</a>
|
||||
<a class="Left" href="../endoh2/index.html">endoh2 →</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/endoh1/prog.c">C code</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/endoh1/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#Yusuke_Endoh">Yusuke Endoh</a><br>
|
||||
Location: <a href="../../location.html#JP">JP</a> <br><br></li>
|
||||
Location: <a href="../../location.html#JP">JP</a> - <em>Japan</em>
|
||||
<br><br></li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
},
|
||||
{
|
||||
"file_path" : "2018_endoh2.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
"inventory_order" : 100000,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "tbz2",
|
||||
"display_via_github" : false,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# sort with: ../../bin/sgi
|
||||
# sort with: ../../bin/sgi.sh
|
||||
*.dSYM
|
||||
indent
|
||||
indent.c
|
||||
|
||||
@@ -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.
|
||||
#
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
<a class="Left" href="../endoh1/index.html">← endoh1</a>
|
||||
<a class="Left" href="../index.html">↑ 2018 ↑</a>
|
||||
<a class="Left" href="../ferguson/index.html">ferguson →</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/endoh2/prog.c">C code</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/endoh2/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#Yusuke_Endoh">Yusuke Endoh</a><br>
|
||||
Location: <a href="../../location.html#JP">JP</a> <br><br></li>
|
||||
Location: <a href="../../location.html#JP">JP</a> - <em>Japan</em>
|
||||
<br><br></li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
},
|
||||
{
|
||||
"file_path" : "2018_ferguson.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
"inventory_order" : 100000,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "tbz2",
|
||||
"display_via_github" : false,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# sort with: ../../bin/sgi
|
||||
# sort with: ../../bin/sgi.sh
|
||||
*.dSYM
|
||||
indent
|
||||
indent.c
|
||||
|
||||
@@ -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.
|
||||
#
|
||||
|
||||
@@ -103,7 +103,7 @@ evolutionary relatives of the primate order in which us Homo sapiens hang
|
||||
from the phylogenetic tree of life.
|
||||
|
||||
If you wish your computer to maintain one branch in the Cretaceous C code era,
|
||||
while using more Cenozoic minded code migration, read rpm.md.
|
||||
while using more Cenozoic minded code migration, read [rpm.html](rpm.html).
|
||||
|
||||
If you find yourself in an evolutionary dead end, try:
|
||||
|
||||
@@ -178,7 +178,7 @@ but it must be >= the default 38), the number of maximum attempts before giving
|
||||
up and the number of offspring, respectively. I
|
||||
also give [example compiler invocations](#compiling), [portability
|
||||
notes](#portability), an [more portability notes](#bugs) and a [note on
|
||||
rpm.md](#rpm).
|
||||
rpm.html](rpm.html).
|
||||
|
||||
On the subject of `S` and `N`: As the judges' suggested runs imply you
|
||||
can change the target string at runtime; `make test` runs a script
|
||||
@@ -196,7 +196,7 @@ dedications and thanks. Here too I include a link to a website which will be
|
||||
dedicated to this entry beyond what will be published on the IOCCC website.
|
||||
|
||||
[FILES]: FILES
|
||||
[rpm.md]: rpm.md
|
||||
[rpm.html]: rpm.html
|
||||
|
||||
## **1. <a name="what">What it is</a>**
|
||||
|
||||
@@ -337,7 +337,7 @@ assumption that **the user could in fact be a monkey called Eric** *although it
|
||||
isn't insolent enough to say the user is a monkey for certain!*
|
||||
|
||||
[genetic algorithm]: https://web.archive.org/web/20180308131613/http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol1/hmw/article1.html
|
||||
[2018 guidelines]: http://ioccc.org/2018/guidelines.txt
|
||||
[2018 guidelines]: ../../2018/guidelines.txt
|
||||
|
||||
|
||||
## **3. <a name="hints">Hints</a>**
|
||||
@@ -1097,10 +1097,10 @@ however leaving it as it is because this is what won.
|
||||
Skip to [Final thoughts](#thoughts).
|
||||
|
||||
I have included a RPM spec file for those with a Red Hat based Linux
|
||||
distribution; see [rpm.md][] for details (including why I implemented
|
||||
distribution; see [rpm.html](rpm.html) for details (including why I implemented
|
||||
this) if for some (strange or maybe even mad) reason you're interested.
|
||||
|
||||
[rpm.md]: rpm.md
|
||||
[rpm.html]: rpm.html
|
||||
|
||||
## **6. <a name="thoughts">Final thoughts</a>**
|
||||
|
||||
@@ -1285,8 +1285,8 @@ Finally I would like to thank my mother for being the best mum anyone could ask
|
||||
for, who's always been here for me and whom I also inherit the keen analytical
|
||||
mind from. I love you all!
|
||||
|
||||
I want to also thank [Dave Burton](/winners#Dave_Burton) for acknowledging me in
|
||||
his [README.md]((../burton2/README.md) for his [2018/burton2](../burton2/prog.c)
|
||||
I want to also thank [Dave Burton](../../authors#Dave_Burton) for acknowledging me in
|
||||
his [Dave Burton]((../../authors.html#Dave_Burton) for his [2018/burton2](../burton2/index.html)
|
||||
entry for as he put it 'being relentless with pursuit of bugs'. To think that it
|
||||
was circumstantial to my entry too makes it all the more unlikely but that
|
||||
doesn't take away the significance of it; for I am a very symbolic person and
|
||||
|
||||
+19
-15
@@ -45,6 +45,8 @@
|
||||
<a class="Left" href="../endoh2/index.html">← endoh2</a>
|
||||
<a class="Left" href="../index.html">↑ 2018 ↑</a>
|
||||
<a class="Left" href="../giles/index.html">giles →</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/ferguson/prog.c">C code</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/ferguson/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#Cody_Boone_Ferguson">Cody Boone
|
||||
Ferguson</a><br> Location: <a href="../../location.html#US">US</a>
|
||||
<br><br></li>
|
||||
Ferguson</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 -->
|
||||
@@ -194,8 +197,8 @@ thought experiment formulated by Richard Dawkins: but without the need
|
||||
for feeding too many evolutionary relatives of the primate order in
|
||||
which us Homo sapiens hang from the phylogenetic tree of life.</p>
|
||||
<p>If you wish your computer to maintain one branch in the Cretaceous C
|
||||
code era, while using more Cenozoic minded code migration, read
|
||||
rpm.md.</p>
|
||||
code era, while using more Cenozoic minded code migration, read <a
|
||||
href="rpm.html">rpm.html</a>.</p>
|
||||
<p>If you find yourself in an evolutionary dead end, try:</p>
|
||||
<div class="sourceCode" id="cb7"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true" tabindex="-1"></a><span class="fu">man</span> ./weasel.1</span></code></pre></div>
|
||||
<h2 id="authors-remarks">Author’s remarks:</h2>
|
||||
@@ -265,7 +268,7 @@ but it must be >= the default 38), the number of maximum attempts
|
||||
before giving up and the number of offspring, respectively. I also give
|
||||
<a href="#compiling">example compiler invocations</a>, <a
|
||||
href="#portability">portability notes</a>, an <a href="#bugs">more
|
||||
portability notes</a> and a <a href="#rpm">note on rpm.md</a>.</p>
|
||||
portability notes</a> and a <a href="rpm.html">note on rpm.html</a>.</p>
|
||||
<p>On the subject of <code>S</code> and <code>N</code>: As the judges’
|
||||
suggested runs imply you can change the target string at runtime;
|
||||
<code>make test</code> runs a script <code>test.sh</code> which reads
|
||||
@@ -376,11 +379,11 @@ instead the outer loop will end after printing:</p>
|
||||
doesn’t exist. Bye.</p>
|
||||
</blockquote>
|
||||
<p>Why ‘<em>Eric</em>’? Because the judges stated in the <a
|
||||
href="http://ioccc.org/2018/guidelines.txt">2018 guidelines</a> that
|
||||
when there is a user input error the program should insult the pet fish
|
||||
Eric even if such a fish (no, weasels do not equate monkeys to fish but
|
||||
see below) doesn’t exist. The second to last example limitation example
|
||||
note (it’s improved in the final but this is relevant) they give is:</p>
|
||||
href="../../2018/guidelines.txt">2018 guidelines</a> that when there is
|
||||
a user input error the program should insult the pet fish Eric even if
|
||||
such a fish (no, weasels do not equate monkeys to fish but see below)
|
||||
doesn’t exist. The second to last example limitation example note (it’s
|
||||
improved in the final but this is relevant) they give is:</p>
|
||||
<blockquote>
|
||||
<p>The judges might not have a pet fish named Eric, so might want to
|
||||
state:</p>
|
||||
@@ -1047,8 +1050,8 @@ won.</p>
|
||||
<h3 id="installing"><a name="rpm">Installing</a></h3>
|
||||
<p>Skip to <a href="#thoughts">Final thoughts</a>.</p>
|
||||
<p>I have included a RPM spec file for those with a Red Hat based Linux
|
||||
distribution; see <a href="rpm.md">rpm.md</a> for details (including why
|
||||
I implemented this) if for some (strange or maybe even mad) reason
|
||||
distribution; see <a href="rpm.html">rpm.html</a> for details (including
|
||||
why I implemented this) if for some (strange or maybe even mad) reason
|
||||
you’re interested.</p>
|
||||
<h2 id="final-thoughts"><strong>6. <a name="thoughts">Final
|
||||
thoughts</a></strong></h2>
|
||||
@@ -1247,9 +1250,10 @@ such a wonderfully beautiful person and friend - that truly is what
|
||||
<p>Finally I would like to thank my mother for being the best mum anyone
|
||||
could ask for, who’s always been here for me and whom I also inherit the
|
||||
keen analytical mind from. I love you all!</p>
|
||||
<p>I want to also thank <a href="/winners#Dave_Burton">Dave Burton</a>
|
||||
for acknowledging me in his [README.md]((../burton2/README.md) for his
|
||||
<a href="../burton2/prog.c">2018/burton2</a> entry for as he put it
|
||||
<p>I want to also thank <a href="../../authors#Dave_Burton">Dave
|
||||
Burton</a> for acknowledging me in his [Dave
|
||||
Burton]((../../authors.html#Dave_Burton) for his <a
|
||||
href="../burton2/index.html">2018/burton2</a> entry for as he put it
|
||||
‘being relentless with pursuit of bugs’. To think that it was
|
||||
circumstantial to my entry too makes it all the more unlikely but that
|
||||
doesn’t take away the significance of it; for I am a very symbolic
|
||||
|
||||
@@ -66,6 +66,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">
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
},
|
||||
{
|
||||
"file_path" : "2018_giles.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
"inventory_order" : 100000,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "tbz2",
|
||||
"display_via_github" : false,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# sort with: ../../bin/sgi
|
||||
# sort with: ../../bin/sgi.sh
|
||||
*.dSYM
|
||||
indent
|
||||
indent.c
|
||||
|
||||
+1
-1
@@ -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,7 +1,7 @@
|
||||
## To build:
|
||||
|
||||
This entry requires SDL2 to be installed. See [FAQ 3.8: How do I compile an
|
||||
IOCCC winner that requires SDL1 or SDL2?](/faq.md#SDL) if you don't have it
|
||||
IOCCC entry that requires SDL1 or SDL2?](../../faq.html#SDL) if you don't have it
|
||||
installed and don't know how to do so.
|
||||
|
||||
```sh
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
<a class="Left" href="../ferguson/index.html">← ferguson</a>
|
||||
<a class="Left" href="../index.html">↑ 2018 ↑</a>
|
||||
<a class="Left" href="../hou/index.html">hou →</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/giles/prog.c">C code</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/giles/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#Edward_Giles">Edward Giles</a><br>
|
||||
Location: <a href="../../location.html#AU">AU</a> <br><br></li>
|
||||
Location: <a href="../../location.html#AU">AU</a> - <em>Commonwealth of
|
||||
Australia</em> (<em>Australia</em>) <br><br></li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
|
||||
@@ -127,7 +131,7 @@ Location: <a href="../../location.html#AU">AU</a> <br><br></li>
|
||||
|
||||
<h2 id="to-build">To build:</h2>
|
||||
<p>This entry requires SDL2 to be installed. See <a
|
||||
href="/faq.md#SDL">FAQ 3.8: How do I compile an IOCCC winner that
|
||||
href="../../faq.html#SDL">FAQ 3.8: How do I compile an IOCCC entry that
|
||||
requires SDL1 or SDL2?</a> if you don’t have it installed and don’t know
|
||||
how to do so.</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">make</span></span></code></pre></div>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
},
|
||||
{
|
||||
"file_path" : "2018_hou.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
"inventory_order" : 100000,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "tbz2",
|
||||
"display_via_github" : false,
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# sort with: ../../bin/sgi
|
||||
# sort with: ../../bin/sgi.sh
|
||||
*.dSYM
|
||||
indent
|
||||
indent.c
|
||||
|
||||
+1
-1
@@ -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
@@ -13,7 +13,7 @@ The current status of this entry is:
|
||||
STATUS: INABIAF - please **DO NOT** fix
|
||||
```
|
||||
|
||||
For more detailed information see [2018 hou in bugs.md](/bugs.md#2018-hou).
|
||||
For more detailed information see [2018 hou bugs](../../bugs.html#2018_hou).
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
+7
-3
@@ -45,6 +45,8 @@
|
||||
<a class="Left" href="../giles/index.html">← giles</a>
|
||||
<a class="Left" href="../index.html">↑ 2018 ↑</a>
|
||||
<a class="Left" href="../mills/index.html">mills →</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/hou/prog.c">C code</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/hou/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#Qiming_HOU">Qiming HOU</a><br>
|
||||
Location: <a href="../../location.html#CN">CN</a> <br><br></li>
|
||||
Location: <a href="../../location.html#CN">CN</a> - <em>People’s
|
||||
Republic of China</em> (<em>China</em>) <br><br></li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
|
||||
@@ -130,8 +134,8 @@ Location: <a href="../../location.html#CN">CN</a> <br><br></li>
|
||||
<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#2018-hou">2018
|
||||
hou in bugs.md</a>.</p>
|
||||
<p>For more detailed information see <a
|
||||
href="../../bugs.html#2018_hou">2018 hou 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">./prog</span> <span class="op"><</span> input.json <span class="op">></span> output.html</span></code></pre></div>
|
||||
<p>View <code>output.html</code> in a browser.</p>
|
||||
|
||||
+29
-23
@@ -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,11 +116,13 @@
|
||||
<h1 id="twenty-fifth-international-obfuscated-c-code-contest">Twenty
|
||||
Fifth International Obfuscated C Code Contest</h1>
|
||||
<h2 id="standard-ioccc-stuff">Standard IOCCC stuff</h2>
|
||||
<p>The primary IOCCC web site can be found at,</p>
|
||||
<blockquote>
|
||||
<p><a href="https://www.ioccc.org/"
|
||||
class="uri">https://www.ioccc.org/</a></p>
|
||||
</blockquote>
|
||||
<p>View the <code>index.html</code> web page for the given winning entry
|
||||
for information on how 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 primary site can be found at <a
|
||||
href="https://www.ioccc.org">www.ioccc.org</a>.</p>
|
||||
<p>Use <code>make</code> to compile entries. It is possible that on
|
||||
non-Unix / non-Linux systems the Makefile needs to be changed. See the
|
||||
Makefile for details.</p>
|
||||
@@ -133,26 +136,29 @@ require certain changes (add or remove a library, add or remove a
|
||||
<p>Some C compilers are not quite as good as they should be. If yours is
|
||||
lacking, you may need to compile using clang or gcc instead of your
|
||||
local compiler.</p>
|
||||
<h2 id="remarks-on-some-of-the-winners">Remarks on some of the
|
||||
winners</h2>
|
||||
<p>We believe you will again be impressed with this year’s winners.</p>
|
||||
<p>The “Best of show” (mills) is an amazing tribute to winners from 1984
|
||||
<h2 id="remarks-on-some-of-the-winning-entries">Remarks on some of the
|
||||
winning entries</h2>
|
||||
<p>We believe you will again be impressed with this year’s winning
|
||||
entries.</p>
|
||||
<p>The “Best of show” (mills) is an amazing tribute to entrues from 1984
|
||||
and 2015.</p>
|
||||
<p>Take a close look at the “Most likely to top the charts” (hou)
|
||||
winner. Observe that while it contains no variables and no operators, it
|
||||
remains functional in what it does.</p>
|
||||
<p>Take a close look at the “Most likely to top the charts” <a
|
||||
href="hou/index.html">2018/hou</a> Observe that while it contains no
|
||||
variables and no operators, it remains functional in what it does.</p>
|
||||
<p>The “Best one-liner” (burton1), at 109 characters, is a short and
|
||||
sweet implementation of a classic utility and a nod to a winner from
|
||||
1986. Sometimes it takes 20 ox years to do things the true IOCCC
|
||||
sweet implementation of a classic utility and a nod to a winning entry
|
||||
from 1986. Sometimes it takes 20 ox years to do things the true IOCCC
|
||||
way.</p>
|
||||
<p>The color of the remarks text this year was inspired by one of the
|
||||
stars of the “Most stellar” winner (poikola).</p>
|
||||
stars of the “Most stellar” <a
|
||||
href="poikola/index.html">2018/poikola</a>.</p>
|
||||
<p>The “Best use of python” (endoh2) is a not what you might think it
|
||||
is. It is something completely different.</p>
|
||||
<p>The “Most likely to be awarded” (ciura) has an amazing
|
||||
vocabulary!</p>
|
||||
<p>There are also nods to winners of the years 2000 (bellard), 1989
|
||||
(yang), …</p>
|
||||
<p>There are also nods to entries of the years <a
|
||||
href="2000/bellard/index.htmk">2000/bellard</a>, <a
|
||||
href="1989/yang/index.html">1989/yang</a>, …</p>
|
||||
<p>…We’ll stop spouting spoilers now. Have fun exploring all the
|
||||
entries!</p>
|
||||
<h2 id="remarks-on-some-of-submissions-that-did-not-win">Remarks on some
|
||||
@@ -183,18 +189,18 @@ them for the next IOCCC.</p>
|
||||
the idea was limited in scope.</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) 2018,2023, Landon Curt Noll 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
|
||||
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 -->
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
},
|
||||
{
|
||||
"file_path" : "2018_mills.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
"inventory_order" : 100000,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "tbz2",
|
||||
"display_via_github" : false,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# sort with: ../../bin/sgi
|
||||
# sort with: ../../bin/sgi.sh
|
||||
*.dSYM
|
||||
builddisk.bsd
|
||||
builddisk.v6
|
||||
|
||||
+1
-1
@@ -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.
|
||||
#
|
||||
|
||||
@@ -26,7 +26,7 @@ STATUS: known bug - please help us fix
|
||||
STATUS: INABIAF - please **DO NOT** fix
|
||||
```
|
||||
|
||||
For more detailed information see [2018 mills in bugs.md](/bugs.md#2018-mills).
|
||||
For more detailed information see [2018 mills bugs](../../bugs.html#2018_mills).
|
||||
|
||||
|
||||
## To use:
|
||||
@@ -64,7 +64,7 @@ cc mullender.c
|
||||
a.out
|
||||
```
|
||||
|
||||
... and enjoy the classic [1984/mullender](/1984/mullender/README.md) entry as
|
||||
... and enjoy the classic [1984/mullender](../../1984/mullender/index.html) entry as
|
||||
it would have been in 1984 with a VAX-11/PDP-11! Once it reaches the end of the
|
||||
line, hit enter and see what happens again. When you're tired of it hit ctrl-c.
|
||||
|
||||
@@ -113,7 +113,7 @@ At the ":" prompt, type `rk(0,0)rkunix`.
|
||||
NOTE: To quit prog, press Control-E.
|
||||
|
||||
This should now be very familiar and it is possible to compile and run one of
|
||||
the very first IOCCC entries [mullender.c](/1984/mullender/mullender.c), as
|
||||
the very first IOCCC entries [1984/mullender](../../1984/mullender/index.html), as
|
||||
shown earlier.
|
||||
|
||||
But wait, there is even more! Try:
|
||||
@@ -232,7 +232,7 @@ Filesystem Mounted on kbytes used free % used
|
||||
# ./a.out
|
||||
```
|
||||
|
||||
The program you've just run was the [winner of the first IOCCC contest from
|
||||
The program you've just run was the [winning entry of the first IOCCC contest from
|
||||
1984] [1] (or was it 1894?), a personal favorite of mine. It is rather
|
||||
tightly bound to running on either a PDP-11 or a VAX-11. Now you have one.
|
||||
|
||||
@@ -522,10 +522,10 @@ contest scheduling, I chose not to wait for the actual 50th anniversary).
|
||||
I had thought of writing self-hosting compilers for a stripped-down version of
|
||||
C, or maybe even a version of the B language... At the same time, I was
|
||||
obsessed with the idea of allowing [mullender.c from
|
||||
1984](/1984/mullender/README.md) to run. Although
|
||||
1984](../../1984/mullender/index.html) to run. Although
|
||||
that was still a possibility on an interpreted version of B or a stripped-down
|
||||
version of C, it felt cheap, as it would be
|
||||
[mullender.c](/1984/mullender/mullender.c) only in spirit.
|
||||
[mullender.c](../../1984/mullender/mullender.c) only in spirit.
|
||||
|
||||
It was during this time that I discovered that in 2016, members of the Unix
|
||||
Heritage Society got access to [printouts of assembly-language source for the
|
||||
@@ -789,7 +789,7 @@ time...
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
[1]: https://www.ioccc.org/1984/mullender/mullender.c "mullender.c"
|
||||
[1]: ../../1984/mullender/mullender.c "mullender.c"
|
||||
[2]: http://minnie.tuhs.org/cgi-bin/utree.pl?file=2.9BSD "2.9 BSD"
|
||||
[3]: https://www.bell-labs.com/usr/dmr/www/kbman.html "B Language"
|
||||
[4]: https://www.bell-labs.com/usr/dmr/www/hist.html "UNIX history"
|
||||
|
||||
+17
-14
@@ -45,6 +45,8 @@
|
||||
<a class="Left" href="../hou/index.html">← hou</a>
|
||||
<a class="Left" href="../index.html">↑ 2018 ↑</a>
|
||||
<a class="Left" href="../poikola/index.html">poikola →</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/mills/prog.c">C code</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/mills/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#Christopher_Mills">Christopher
|
||||
Mills</a><br> Location: <a href="../../location.html#US">US</a>
|
||||
<br><br></li>
|
||||
Mills</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 -->
|
||||
@@ -139,8 +142,8 @@ the file might not exist or it will be corrupt if it does.</p>
|
||||
<p>The current status of this entry is:</p>
|
||||
<pre><code>STATUS: known bug - please help us fix
|
||||
STATUS: INABIAF - please **DO NOT** fix</code></pre>
|
||||
<p>For more detailed information see <a href="/bugs.md#2018-mills">2018
|
||||
mills in bugs.md</a>.</p>
|
||||
<p>For more detailed information see <a
|
||||
href="../../bugs.html#2018_mills">2018 mills bugs</a>.</p>
|
||||
<h2 id="to-use">To use:</h2>
|
||||
<div class="sourceCode" id="cb4"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./prog</span></span></code></pre></div>
|
||||
<h2 id="try">Try:</h2>
|
||||
@@ -158,10 +161,10 @@ wait for it to initialise itself. Now try typing:</p>
|
||||
<div class="sourceCode" id="cb7"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true" tabindex="-1"></a><span class="fu">cc</span> mullender.c</span>
|
||||
<span id="cb7-2"><a href="#cb7-2" aria-hidden="true" tabindex="-1"></a><span class="ex">a.out</span></span></code></pre></div>
|
||||
<p>… and enjoy the classic <a
|
||||
href="/1984/mullender/README.md">1984/mullender</a> entry as it would
|
||||
have been in 1984 with a VAX-11/PDP-11! Once it reaches the end of the
|
||||
line, hit enter and see what happens again. When you’re tired of it hit
|
||||
ctrl-c.</p>
|
||||
href="../../1984/mullender/index.html">1984/mullender</a> entry as it
|
||||
would have been in 1984 with a VAX-11/PDP-11! Once it reaches the end of
|
||||
the line, hit enter and see what happens again. When you’re tired of it
|
||||
hit ctrl-c.</p>
|
||||
<p>But there is much more to this entry! See below.</p>
|
||||
<p>NOTE: To quit, press Control-E.</p>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
@@ -191,7 +194,7 @@ class="sourceCode sh"><code class="sourceCode bash"><span id="cb10-1"><a href="#
|
||||
<p>NOTE: To quit prog, press Control-E.</p>
|
||||
<p>This should now be very familiar and it is possible to compile and
|
||||
run one of the very first IOCCC entries <a
|
||||
href="/1984/mullender/mullender.c">mullender.c</a>, as shown
|
||||
href="../../1984/mullender/index.html">1984/mullender</a>, as shown
|
||||
earlier.</p>
|
||||
<p>But wait, there is even more! Try:</p>
|
||||
<div class="sourceCode" id="cb11"><pre
|
||||
@@ -286,9 +289,8 @@ class="sourceCode sh"><code class="sourceCode bash"><span id="cb15-1"><a href="#
|
||||
<span id="cb15-7"><a href="#cb15-7" aria-hidden="true" tabindex="-1"></a><span class="ex">/dev/rk0</span> / 1958 1688 270 86%</span>
|
||||
<span id="cb15-8"><a href="#cb15-8" aria-hidden="true" tabindex="-1"></a><span class="co"># bin/cc mullender.c</span></span>
|
||||
<span id="cb15-9"><a href="#cb15-9" aria-hidden="true" tabindex="-1"></a><span class="co"># ./a.out</span></span></code></pre></div>
|
||||
<p>The program you’ve just run was the [winner of the first IOCCC
|
||||
contest from 1984] <a
|
||||
href="https://www.ioccc.org/1984/mullender/mullender.c"
|
||||
<p>The program you’ve just run was the [winning entry of the first IOCCC
|
||||
contest from 1984] <a href="../../1984/mullender/mullender.c"
|
||||
title="mullender.c">1</a> (or was it 1894?), a personal favorite of
|
||||
mine. It is rather tightly bound to running on either a PDP-11 or a
|
||||
VAX-11. Now you have one.</p>
|
||||
@@ -567,10 +569,11 @@ nature of IOCCC contest scheduling, I chose not to wait for the actual
|
||||
50th anniversary). I had thought of writing self-hosting compilers for a
|
||||
stripped-down version of C, or maybe even a version of the B language…
|
||||
At the same time, I was obsessed with the idea of allowing <a
|
||||
href="/1984/mullender/README.md">mullender.c from 1984</a> to run.
|
||||
href="../../1984/mullender/index.html">mullender.c from 1984</a> to run.
|
||||
Although that was still a possibility on an interpreted version of B or
|
||||
a stripped-down version of C, it felt cheap, as it would be <a
|
||||
href="/1984/mullender/mullender.c">mullender.c</a> only in spirit.</p>
|
||||
href="../../1984/mullender/mullender.c">mullender.c</a> only in
|
||||
spirit.</p>
|
||||
<p>It was during this time that I discovered that in 2016, members of
|
||||
the Unix Heritage Society got access to [printouts of assembly-language
|
||||
source for the original version of UNIX] <a
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
},
|
||||
{
|
||||
"file_path" : "2018_poikola.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
"inventory_order" : 100000,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "tbz2",
|
||||
"display_via_github" : false,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# sort with: ../../bin/sgi
|
||||
# sort with: ../../bin/sgi.sh
|
||||
*.dSYM
|
||||
indent
|
||||
indent.c
|
||||
|
||||
@@ -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.
|
||||
#
|
||||
|
||||
@@ -89,8 +89,8 @@ colors, has a black background and the size is at least 125x38.
|
||||
|
||||
Special note for Mac users: `Terminal.app` does not work as expected; you might
|
||||
need xterm from XQuartz (see [FAQ 3.7: How do I compile and use on macOS, an
|
||||
IOCCC winner that requires X11?](/faq.md#X11macos)) or some other working
|
||||
terminal. Thanks to [Dave Burton](/authors.html#Dave_Burton) for spotting this
|
||||
IOCCC entry that requires X11?](../../faq.html#X11macos)) or some other working
|
||||
terminal. Thanks to [Dave Burton](../../authors.html#Dave_Burton) for spotting this
|
||||
problem.
|
||||
|
||||
The main reason for the header `unistd.h` is `getdelim(3)` but once I included it
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
<a class="Left" href="../mills/index.html">← mills</a>
|
||||
<a class="Left" href="../index.html">↑ 2018 ↑</a>
|
||||
<a class="Left" href="../vokes/index.html">vokes →</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/poikola/prog.c">C code</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/poikola/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#Timo_Poikola">Timo Poikola</a><br>
|
||||
Location: <a href="../../location.html#FI">FI</a> <br><br></li>
|
||||
Location: <a href="../../location.html#FI">FI</a> - <em>Republic of
|
||||
Finland </em> (<em>Finland</em>) <br><br></li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
|
||||
@@ -173,10 +177,10 @@ supports 24-bit colors, has a black background and the size is at least
|
||||
125x38.</p>
|
||||
<p>Special note for Mac users: <code>Terminal.app</code> does not work
|
||||
as expected; you might need xterm from XQuartz (see <a
|
||||
href="/faq.md#X11macos">FAQ 3.7: How do I compile and use on macOS, an
|
||||
IOCCC winner that requires X11?</a>) or some other working terminal.
|
||||
Thanks to <a href="/authors.html#Dave_Burton">Dave Burton</a> for
|
||||
spotting this problem.</p>
|
||||
href="../../faq.html#X11macos">FAQ 3.7: How do I compile and use on
|
||||
macOS, an IOCCC entry that requires X11?</a>) or some other working
|
||||
terminal. Thanks to <a href="../../authors.html#Dave_Burton">Dave
|
||||
Burton</a> for spotting this problem.</p>
|
||||
<p>The main reason for the header <code>unistd.h</code> is
|
||||
<code>getdelim(3)</code> but once I included it I also abused other
|
||||
functions and <code>#define</code>s. This header is mutually exclusive
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
},
|
||||
{
|
||||
"file_path" : "2018_vokes.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
"inventory_order" : 100000,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "tbz2",
|
||||
"display_via_github" : false,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# sort with: ../../bin/sgi
|
||||
# sort with: ../../bin/sgi.sh
|
||||
*.dSYM
|
||||
indent
|
||||
indent.c
|
||||
|
||||
+1
-1
@@ -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.
|
||||
#
|
||||
|
||||
@@ -13,7 +13,7 @@ The current status of this entry is:
|
||||
STATUS: INABIAF - please **DO NOT** fix
|
||||
```
|
||||
|
||||
For more detailed information see [2018 vokes in bugs.md](/bugs.md#2018-vokes).
|
||||
For more detailed information see [2018 vokes bugs](../../bugs.html#2018_vokes).
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
<a class="Left" href="../poikola/index.html">← poikola</a>
|
||||
<a class="Left" href="../index.html">↑ 2018 ↑</a>
|
||||
<a class="Left" href="../yang/index.html">yang →</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/vokes/prog.c">C code</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/vokes/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#Scott_Vokes">Scott Vokes</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 -->
|
||||
@@ -130,8 +134,8 @@ Location: <a href="../../location.html#US">US</a> <br><br></li>
|
||||
<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#2018-vokes">2018
|
||||
vokes in bugs.md</a>.</p>
|
||||
<p>For more detailed information see <a
|
||||
href="../../bugs.html#2018_vokes">2018 vokes 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">./prog</span> <span class="op"><</span> file.txt</span></code></pre></div>
|
||||
<h2 id="try">Try:</h2>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
},
|
||||
{
|
||||
"file_path" : "2018_yang.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
"inventory_order" : 100000,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "tbz2",
|
||||
"display_via_github" : false,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# sort with: ../../bin/sgi
|
||||
# sort with: ../../bin/sgi.sh
|
||||
*.dSYM
|
||||
generated*
|
||||
indent
|
||||
|
||||
+1
-1
@@ -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.
|
||||
#
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
<a class="Left" href="../vokes/index.html">← vokes</a>
|
||||
<a class="Left" href="../index.html">↑ 2018 ↑</a>
|
||||
<a class="Left Disabled" href="#">last entry</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/yang/prog.c">C code</a>
|
||||
<a class="Right" href="https://github.com/ioccc-src/temp-test-ioccc/2018/yang/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#Don_Yang">Don Yang</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 -->
|
||||
|
||||
Reference in new issue
Block a user