improved indentation and whitespace for markdown code blocks

All code blocks in markdown have been intended by at least 4 spaces.

We add `--tab-stop=8` to all `pandoc(1)` executions in order to set
a better tab stop indentation, especially for tab intended code blocks.

Changed `bin/pandoc-wrapper.sh` VERSION from "1.5.3 2024-03-26"
to "1.6 2024-03-31".

Fixed `1991/brnstnd/sorta.README.md` so that the sorta code
is code blocks.

Removed unneeded paragraph group in copyright in `inc/footer.default.html`.

Fixed excess whitespace after list Author on entry `index.html` page.

Changed `bin/output-index-author.sh` VERSION from "1.5.2 2024-03-26"
to "1.6 2024-03-31".

Performed `make www` to perform the above and test under macOS.

TODO: Fix the problem of the initial line of code being extra intended.
TODO: Fix excess whitespace around code that is inline.
This commit is contained in:
Landon Curt Noll committed 2024-04-01 04:48:48 -07:00
1 parent b84c27ce02
commit a996f8d2b8
734 files changed
+16723 -16963

No files matched your search

+2 -2
View File
@@ -56,8 +56,8 @@ Also include anything else that you would like to see in future contests.
Send such email to:
```
...!{sun,pacbell,uunet,pyramid}!hoptoad!judges
judges@toad.com
...!{sun,pacbell,uunet,pyramid}!hoptoad!judges
judges@toad.com
```
If you use, distribute or publish these entries in some way, please drop
+9 -9
View File
@@ -5,7 +5,7 @@ entry looked like back in 1995 (with a configurable speed). See the [original
code](#original-code) section below for the original entry.
```sh
make alt
make alt
```
The alternate version uses `usleep(3)` with `SLEEP` (defined in the Makefile,
@@ -20,7 +20,7 @@ making it 100000 (which is actually fun :-) ).
The current status of this entry is:
```
STATUS: INABIAF - please **DO NOT** fix
STATUS: INABIAF - please **DO NOT** fix
```
For more detailed information see [1995 cdua bugs](../../bugs.html#1995_cdua).
@@ -29,24 +29,24 @@ For more detailed information see [1995 cdua bugs](../../bugs.html#1995_cdua).
## To use:
```sh
./cdua.alt
./cdua.alt
```
## Try:
```sh
make SLEEP=1500 clobber alt
make SLEEP=1500 clobber alt
./cdua.alt # press enter and watch it go much faster!
./cdua.alt # press enter and watch it go much faster!
```
You might also like to try:
```sh
make SLEEP=65000 clobber alt
make SLEEP=65000 clobber alt
./cdua.alt # press enter and watch it go much slower!
./cdua.alt # press enter and watch it go much slower!
```
Do you see anything strange in this version when `SLEEP` is a high value like
@@ -67,14 +67,14 @@ fast your computer is :-) or use both to see the difference, you can do so.
### Original build:
```sh
make all
make all
```
### Original use:
```sh
./cdua
./cdua
```
+10 -11
View File
@@ -132,8 +132,7 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#Carlos_Duarte">Carlos Duarte</a><br>
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<br><br></li>
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em></li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -145,7 +144,7 @@ Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<p>We recommend that you try the alternate version first so you can see what this
entry looked like back in 1995 (with a configurable speed). See the <a href="#original-code">original
code</a> section below for the original entry.</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> alt</span></code></pre></div>
<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> alt</span></code></pre></div>
<p>The alternate version uses <code>usleep(3)</code> with <code>SLEEP</code> (defined in the Makefile,
default <code>3000</code>) microseconds to make it easier to see the maze being solved in
real time. You can redefine <code>SLEEP</code> at compile time to reconfigure it in case
@@ -153,18 +152,18 @@ it’s going too slow, too fast :-) or you’re doing some strange experiment li
making it 100000 (which is actually fun :-) ).</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>
<pre><code> STATUS: INABIAF - please **DO NOT** fix</code></pre>
<p>For more detailed information see <a href="../../bugs.html#1995_cdua">1995 cdua 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">./cdua.alt</span></span></code></pre></div>
<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">./cdua.alt</span></span></code></pre></div>
<h2 id="try">Try:</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="fu">make</span> SLEEP=1500 clobber alt</span>
<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">make</span> SLEEP=1500 clobber alt</span>
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb4-3"><a href="#cb4-3" aria-hidden="true" tabindex="-1"></a><span class="ex">./cdua.alt</span> <span class="co"># press enter and watch it go much faster!</span></span></code></pre></div>
<span id="cb4-3"><a href="#cb4-3" aria-hidden="true" tabindex="-1"></a> <span class="ex">./cdua.alt</span> <span class="co"># press enter and watch it go much faster!</span></span></code></pre></div>
<p>You might also like to try:</p>
<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="fu">make</span> SLEEP=65000 clobber alt</span>
<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a> <span class="fu">make</span> SLEEP=65000 clobber alt</span>
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a><span class="ex">./cdua.alt</span> <span class="co"># press enter and watch it go much slower!</span></span></code></pre></div>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a> <span class="ex">./cdua.alt</span> <span class="co"># press enter and watch it go much slower!</span></span></code></pre></div>
<p>Do you see anything strange in this version when <code>SLEEP</code> is a high value like
<code>65000</code>? What happens if you use <code>100000</code>? Is this strange output still there?
Why?</p>
@@ -175,9 +174,9 @@ actually see it being solved in real time rather than have it go by in a flash.<
<p>If you wish to use the original version, for instance if you wish to see how
fast your computer is :-) or use both to see the difference, you can do so.</p>
<h3 id="original-build">Original build:</h3>
<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">make</span> all</span></code></pre></div>
<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">make</span> all</span></code></pre></div>
<h3 id="original-use">Original use:</h3>
<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="ex">./cdua</span></span></code></pre></div>
<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="ex">./cdua</span></span></code></pre></div>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>This could be used as the basis of an a-maze-ing screen exerciser.</p>
<h2 id="authors-remarks">Author’s remarks:</h2>
+8 -8
View File
@@ -1,21 +1,21 @@
## To build:
```sh
make all
make all
```
## To use:
```sh
./dodsond1 < text_file
./dodsond1 < text_file
```
## Try:
```sh
./dodsond1 < README.md
./dodsond1 < README.md
```
@@ -24,16 +24,16 @@ make all
You might consider giving the following input:
```
... a male (who) gets very, very frustrated sitting in a chair all
the time because males are biologically driven to go out and hunt
giraffes.
-- Adjunct Professor Newt Gingrich, Reinhardt College, 1/7/95
... a male (who) gets very, very frustrated sitting in a chair all
the time because males are biologically driven to go out and hunt
giraffes.
-- Adjunct Professor Newt Gingrich, Reinhardt College, 1/7/95
```
... which can be done like:
```c
./try.sh
./try.sh
```
+9 -10
View File
@@ -132,8 +132,7 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#Don_Dodson">Don Dodson</a><br>
Location: <a href="../../location.html#US">US</a> - <em>United States of America</em> (<em>United States</em>)
<br><br></li>
Location: <a href="../../location.html#US">US</a> - <em>United States of America</em> (<em>United States</em>)</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -142,19 +141,19 @@ Location: <a href="../../location.html#US">US</a> - <em>United States of America
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<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> all</span></code></pre></div>
<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> all</span></code></pre></div>
<h2 id="to-use">To use:</h2>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./dodsond1</span> <span class="op">&lt;</span> text_file</span></code></pre></div>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./dodsond1</span> <span class="op">&lt;</span> text_file</span></code></pre></div>
<h2 id="try">Try:</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">./dodsond1</span> <span class="op">&lt;</span> README.md</span></code></pre></div>
<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">./dodsond1</span> <span class="op">&lt;</span> README.md</span></code></pre></div>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>You might consider giving the following input:</p>
<pre><code>... a male (who) gets very, very frustrated sitting in a chair all
the time because males are biologically driven to go out and hunt
giraffes.
-- Adjunct Professor Newt Gingrich, Reinhardt College, 1/7/95</code></pre>
<pre><code> ... a male (who) gets very, very frustrated sitting in a chair all
the time because males are biologically driven to go out and hunt
giraffes.
-- Adjunct Professor Newt Gingrich, Reinhardt College, 1/7/95</code></pre>
<p>… which can be done like:</p>
<div class="sourceCode" id="cb5"><pre class="sourceCode c"><code class="sourceCode c"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="op">./</span>try<span class="op">.</span>sh</span></code></pre></div>
<div class="sourceCode" id="cb5"><pre class="sourceCode c"><code class="sourceCode c"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a> <span class="op">./</span>try<span class="op">.</span>sh</span></code></pre></div>
<h2 id="authors-remarks">Author’s remarks:</h2>
<p>Istha ogrampra akesta Englishwa extta aswa inputwa andwa
anslatestra itwa intowa Igpa Atinla.</p>
+2 -2
View File
@@ -1,14 +1,14 @@
## To build:
```sh
make all
make all
```
## To use:
```sh
./dodsond2
./dodsond2
```
+3 -4
View File
@@ -132,8 +132,7 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#Don_Dodson">Don Dodson</a><br>
Location: <a href="../../location.html#US">US</a> - <em>United States of America</em> (<em>United States</em>)
<br><br></li>
Location: <a href="../../location.html#US">US</a> - <em>United States of America</em> (<em>United States</em>)</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -142,9 +141,9 @@ Location: <a href="../../location.html#US">US</a> - <em>United States of America
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<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> all</span></code></pre></div>
<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> all</span></code></pre></div>
<h2 id="to-use">To use:</h2>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./dodsond2</span></span></code></pre></div>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./dodsond2</span></span></code></pre></div>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>An amazing entry!</p>
<p>The official chef enjoyed solving the maze, which she did on the first
+10 -10
View File
@@ -1,14 +1,14 @@
## To build:
```sh
make all
make all
```
## To use:
```sh
./esde data-file word
./esde data-file word
```
where data-file contains lines of < 255 chars in length.
@@ -17,7 +17,7 @@ where data-file contains lines of < 255 chars in length.
## Try:
```sh
./try.sh
./try.sh
```
@@ -51,13 +51,13 @@ three-digit code. This is the algorithm:
These are the codes:
```
0 = A, E, H, I, O, U, W, Y
1 = B, P, F, V
2 = C, S, G, J, K, Q, X, Z
3 = D, T
4 = L
5 = M, N
6 = R
0 = A, E, H, I, O, U, W, Y
1 = B, P, F, V
2 = C, S, G, J, K, Q, X, Z
3 = D, T
4 = L
5 = M, N
6 = R
```
### information about an info file:
+11 -12
View File
@@ -132,8 +132,7 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#Sebastian_Deorowicz">Sebastian Deorowicz</a><br>
Location: <a href="../../location.html#PL">PL</a> - <em>Republic of Poland</em> (<em>Poland</em>)
<br><br></li>
Location: <a href="../../location.html#PL">PL</a> - <em>Republic of Poland</em> (<em>Poland</em>)</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -142,12 +141,12 @@ Location: <a href="../../location.html#PL">PL</a> - <em>Republic of Poland</em>
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<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> all</span></code></pre></div>
<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> all</span></code></pre></div>
<h2 id="to-use">To use:</h2>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./esde</span> data-file word</span></code></pre></div>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./esde</span> data-file word</span></code></pre></div>
<p>where data-file contains lines of &lt; 255 chars in length.</p>
<h2 id="try">Try:</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">./try.sh</span></span></code></pre></div>
<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">./try.sh</span></span></code></pre></div>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>When reading the source be careful to distinguish between variable
names and library functions.</p>
@@ -168,13 +167,13 @@ three-digit code. This is the algorithm:</p>
<li>If length of code is &lt; 4, add zeros (e.g. <code>T12</code> -&gt; <code>T120</code>).</li>
</ol>
<p>These are the codes:</p>
<pre><code>0 = A, E, H, I, O, U, W, Y
1 = B, P, F, V
2 = C, S, G, J, K, Q, X, Z
3 = D, T
4 = L
5 = M, N
6 = R</code></pre>
<pre><code> 0 = A, E, H, I, O, U, W, Y
1 = B, P, F, V
2 = C, S, G, J, K, Q, X, Z
3 = D, T
4 = L
5 = M, N
6 = R</code></pre>
<h3 id="information-about-an-info-file">information about an info file:</h3>
<p>An info file should be a text file consisting of lines of text (max. 256 bytes
in each line).</p>
+14 -14
View File
@@ -1,21 +1,21 @@
## To build:
```sh
make all
make all
```
## To use:
```sh
./garry <input_file >output_file
./garry <input_file >output_file
```
## Try:
```sh
./try.sh
./try.sh
```
@@ -30,21 +30,21 @@ left intact) looked very much like a rat "dropping core". See
### Alternate build:
```sh
make alt
make alt
```
### Alternate use:
```sh
./garry.alt <input_file >output_file
./garry.alt <input_file >output_file
```
### Alternate try:
```sh
./try.alt.sh
./try.alt.sh
```
@@ -64,13 +64,13 @@ The calling syntax is pretty simple, just use it with `stdio`-redirection
or inside pipelines, e.g.:
```sh
./garry <file_to_convert >converted_file
./garry <file_to_convert >converted_file
```
or
```sh
cat all_my_files/* | ./garry | lp
cat all_my_files/* | ./garry | lp
```
The syntax of the conversion of the input file is as follows: To include the
@@ -78,8 +78,8 @@ value of an environment variable in the output file, place the name of the
variable between `$`-signs in the input, e.g.:
```
My Home-Directory is: $HOME$
I'm using the path: $PATH$
My Home-Directory is: $HOME$
I'm using the path: $PATH$
```
Unknown Env-variables or malformed expressions are ignored and kept intact.
@@ -88,10 +88,10 @@ Additionally, the filter replaces escaped octal values in the environment
variables by their binary representation, e.g.:
```sh
$ TEST="\110\145\154\154\157"
$ export TEST
$ echo '$TEST$' | ./garry
Hello
$ TEST="\110\145\154\154\157"
$ export TEST
$ echo '$TEST$' | ./garry
Hello
```
+15 -16
View File
@@ -132,8 +132,7 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#Garry_Glendown">Garry Glendown</a><br>
Location: <a href="../../location.html#DE">DE</a> - <em>Federal Republic of Germany</em> (<em>Germany</em>)
<br><br></li>
Location: <a href="../../location.html#DE">DE</a> - <em>Federal Republic of Germany</em> (<em>Germany</em>)</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -142,22 +141,22 @@ Location: <a href="../../location.html#DE">DE</a> - <em>Federal Republic of Germ
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<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> all</span></code></pre></div>
<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> all</span></code></pre></div>
<h2 id="to-use">To use:</h2>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./garry</span> <span class="op">&lt;</span>input_file <span class="op">&gt;</span>output_file</span></code></pre></div>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./garry</span> <span class="op">&lt;</span>input_file <span class="op">&gt;</span>output_file</span></code></pre></div>
<h2 id="try">Try:</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">./try.sh</span></span></code></pre></div>
<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">./try.sh</span></span></code></pre></div>
<h2 id="alternate-code">Alternate code:</h2>
<p>While it may not have been the intention of the author, the
judges noted that the C pre-processed version (with the <code>#include</code>s
left intact) looked very much like a rat “dropping core”. See
<a href="garry.alt.c">garry.alt.c</a> and judge for yourself!</p>
<h3 id="alternate-build">Alternate build:</h3>
<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">make</span> alt</span></code></pre></div>
<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">make</span> alt</span></code></pre></div>
<h3 id="alternate-use">Alternate use:</h3>
<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./garry.alt</span> <span class="op">&lt;</span>input_file <span class="op">&gt;</span>output_file</span></code></pre></div>
<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./garry.alt</span> <span class="op">&lt;</span>input_file <span class="op">&gt;</span>output_file</span></code></pre></div>
<h3 id="alternate-try">Alternate try:</h3>
<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="ex">./try.alt.sh</span></span></code></pre></div>
<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="ex">./try.alt.sh</span></span></code></pre></div>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>The author was kind enough to provide a less obfuscated version of
the source called <a href="garry.fmt.c">garry.fmt.c</a>.</p>
@@ -167,21 +166,21 @@ incorporating the ability to create binary from escaped data in the
environment variables.</p>
<p>The calling syntax is pretty simple, just use it with <code>stdio</code>-redirection
or inside pipelines, e.g.:</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="ex">./garry</span> <span class="op">&lt;</span>file_to_convert <span class="op">&gt;</span>converted_file</span></code></pre></div>
<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="ex">./garry</span> <span class="op">&lt;</span>file_to_convert <span class="op">&gt;</span>converted_file</span></code></pre></div>
<p>or</p>
<div class="sourceCode" id="cb8"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true" tabindex="-1"></a><span class="fu">cat</span> all_my_files/<span class="pp">*</span> <span class="kw">|</span> <span class="ex">./garry</span> <span class="kw">|</span> <span class="fu">lp</span></span></code></pre></div>
<div class="sourceCode" id="cb8"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true" tabindex="-1"></a> <span class="fu">cat</span> all_my_files/<span class="pp">*</span> <span class="kw">|</span> <span class="ex">./garry</span> <span class="kw">|</span> <span class="fu">lp</span></span></code></pre></div>
<p>The syntax of the conversion of the input file is as follows: To include the
value of an environment variable in the output file, place the name of the
variable between <code>$</code>-signs in the input, e.g.:</p>
<pre><code>My Home-Directory is: $HOME$
I&#39;m using the path: $PATH$</code></pre>
<pre><code> My Home-Directory is: $HOME$
I&#39;m using the path: $PATH$</code></pre>
<p>Unknown Env-variables or malformed expressions are ignored and kept intact.</p>
<p>Additionally, the filter replaces escaped octal values in the environment
variables by their binary representation, e.g.:</p>
<div class="sourceCode" id="cb10"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> TEST=<span class="st">&quot;\110\145\154\154\157&quot;</span></span>
<span id="cb10-2"><a href="#cb10-2" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> export TEST</span>
<span id="cb10-3"><a href="#cb10-3" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> echo <span class="st">&#39;$TEST$&#39;</span> <span class="kw">|</span> <span class="ex">./garry</span></span>
<span id="cb10-4"><a href="#cb10-4" aria-hidden="true" tabindex="-1"></a><span class="ex">Hello</span></span></code></pre></div>
<div class="sourceCode" id="cb10"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">$</span> TEST=<span class="st">&quot;\110\145\154\154\157&quot;</span></span>
<span id="cb10-2"><a href="#cb10-2" aria-hidden="true" tabindex="-1"></a> <span class="ex">$</span> export TEST</span>
<span id="cb10-3"><a href="#cb10-3" aria-hidden="true" tabindex="-1"></a> <span class="ex">$</span> echo <span class="st">&#39;$TEST$&#39;</span> <span class="kw">|</span> <span class="ex">./garry</span></span>
<span id="cb10-4"><a href="#cb10-4" aria-hidden="true" tabindex="-1"></a> <span class="ex">Hello</span></span></code></pre></div>
<!--
Copyright © 1984-2024 by Landon Curt Noll. All Rights Reserved.
+3 -3
View File
@@ -1,14 +1,14 @@
## To build:
```sh
make all
make all
```
## To use:
```sh
./heathbar num num
./heathbar num num
```
where num is a non-negative number.
@@ -17,7 +17,7 @@ where num is a non-negative number.
## Try:
```sh
./try.sh
./try.sh
```
+4 -5
View File
@@ -135,8 +135,7 @@
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<br><br></li>
<li>Name: <a href="../../authors.html#Selene_Makarios">Selene Makarios</a><br>
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<br><br></li>
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em></li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -145,12 +144,12 @@ Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<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> all</span></code></pre></div>
<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> all</span></code></pre></div>
<h2 id="to-use">To use:</h2>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./heathbar</span> num num</span></code></pre></div>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./heathbar</span> num num</span></code></pre></div>
<p>where num is a non-negative number.</p>
<h2 id="try">Try:</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">./try.sh</span></span></code></pre></div>
<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">./try.sh</span></span></code></pre></div>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>The main reason we liked this entry was mainly because the main
effect of the source was self documenting! :-)</p>
+2 -2
View File
@@ -168,8 +168,8 @@ ways.</p>
<p>Please send us comments and suggestions what we have expressed above.
Also include anything else that you would like to see in future contests.
Send such email to:</p>
<pre><code>...!{sun,pacbell,uunet,pyramid}!hoptoad!judges
judges@toad.com</code></pre>
<pre><code> ...!{sun,pacbell,uunet,pyramid}!hoptoad!judges
judges@toad.com</code></pre>
<p>If you use, distribute or publish these entries in some way, please drop
us a line. We enjoy seeing who, where and how the contest is used.</p>
<h2 id="final-comments">Final Comments</h2>
+14 -14
View File
@@ -1,7 +1,7 @@
## To build:
```sh
make all
make all
```
@@ -10,7 +10,7 @@ make all
The current status of this entry is:
```
STATUS: known bug - please help us fix
STATUS: known bug - please help us fix
```
For more detailed information see [1995 leo bugs](../../bugs.html#1995_leo).
@@ -19,7 +19,7 @@ For more detailed information see [1995 leo bugs](../../bugs.html#1995_leo).
## To use:
```sh
./leo [ deep ] [ right ] [ Variable ] [ cycle [ freq ] ]
./leo [ deep ] [ right ] [ Variable ] [ cycle [ freq ] ]
```
See the author's information below on these details.
@@ -28,7 +28,7 @@ See the author's information below on these details.
## Try:
```sh
./try.sh
./try.sh
```
@@ -53,7 +53,7 @@ characters on the command line - anything that's not a number is a candidate.)
The usage is:
```sh
./leo [ deep ] [ right ] [ Variable ] [ cycle [ freq ] ]
./leo [ deep ] [ right ] [ Variable ] [ cycle [ freq ] ]
```
where the first three are literal words, `cycle` is a positive integer (0 is
@@ -69,7 +69,7 @@ to be present if you want to enter `freq` (and you usually do).
Some options to try (besides the obvious):
```sh
./leo 1 | cat - /dev/tty | gs -
./leo 1 | cat - /dev/tty | gs -
```
This draws the basic pattern I invented in high school:
@@ -192,19 +192,19 @@ the opening for step 1 is not a single line but a cross:
To watch it repeatedly (as a screen saver), use:
```sh
./leo 2 | cat - /dev/tty | gs -
./leo 2 | cat - /dev/tty | gs -
```
The command line:
```sh
./leo Variable 1 | cat - /dev/tty | gs -
./leo Variable 1 | cat - /dev/tty | gs -
```
draws the same as above. Try:
```sh
./leo Variable 1 1 | cat - /dev/tty | gs -
./leo Variable 1 1 | cat - /dev/tty | gs -
```
What happened to the picture? Increase `freq` and watch the changes.
@@ -217,11 +217,11 @@ if you want to pipe the output to a printer.
`uudecode` the spoiler below if you really want to know.
```
begin 664 spoiler1
M*%1H92!C;VQO;B J:7,J('1H92!S96-R970@<W=I=&-H("T@=&AE('-P86-E
=(&)E9F]R92!I="!I<R!N;W0@82!M:7-T86ME*0II
begin 664 spoiler1
M*%1H92!C;VQO;B J:7,J('1H92!S96-R970@<W=I=&-H("T@=&AE('-P86-E
=(&)E9F]R92!I="!I<R!N;W0@82!M:7-T86ME*0II
end
end
```
If `Variable` is used, the actual value of `cycle` doesn't matter,
@@ -229,7 +229,7 @@ as far as it is > 1. To figure out what difference
`cycle` makes when `Variable` is not used, try
```sh
./leo Variable 37 80 | cat - /dev/tty | gs -
./leo Variable 37 80 | cat - /dev/tty | gs -
```
and other values of `cycle`; smaller values usually require
+15 -16
View File
@@ -132,8 +132,7 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#Leonid_A_Broukhis">Leonid A. Broukhis</a><br>
Location: <a href="../../location.html#US">US</a> - <em>United States of America</em> (<em>United States</em>)
<br><br></li>
Location: <a href="../../location.html#US">US</a> - <em>United States of America</em> (<em>United States</em>)</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -142,16 +141,16 @@ Location: <a href="../../location.html#US">US</a> - <em>United States of America
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<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> all</span></code></pre></div>
<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> all</span></code></pre></div>
<h3 id="bugs-and-misfeatures">Bugs and (Mis)features:</h3>
<p>The current status of this entry is:</p>
<pre><code>STATUS: known bug - please help us fix</code></pre>
<pre><code> STATUS: known bug - please help us fix</code></pre>
<p>For more detailed information see <a href="../../bugs.html#1995_leo">1995 leo 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">./leo</span> [ deep ] [ right ] [ Variable ] [ cycle [ freq ] ]</span></code></pre></div>
<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">./leo</span> [ deep ] [ right ] [ Variable ] [ cycle [ freq ] ]</span></code></pre></div>
<p>See the author’s information below on these details.</p>
<h2 id="try">Try:</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">./try.sh</span></span></code></pre></div>
<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">./try.sh</span></span></code></pre></div>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>Press return after each image is drawn.</p>
<p>The variable names are element-ary. If you find this confusing,
@@ -164,7 +163,7 @@ the secret switches that the author doesn’t divulge ! (All switches are single
characters on the command line - anything that’s not a number is a candidate.)</p>
<h2 id="authors-remarks">Author’s remarks:</h2>
<p>The usage is:</p>
<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./leo</span> [ deep ] [ right ] [ Variable ] [ cycle [ freq ] ]</span></code></pre></div>
<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./leo</span> [ deep ] [ right ] [ Variable ] [ cycle [ freq ] ]</span></code></pre></div>
<p>where the first three are literal words, <code>cycle</code> is a positive integer (0 is
ignored), and <code>freq</code> is an integer (default = 0) that’s supposed to be in the
range <code>0..100</code> (bigger values are allowed, however). Invalid parameters and
@@ -174,7 +173,7 @@ equivalent to <code>./leo 0 0 0 1 Variable 70 right</code>, etc.</p>
<p>If <code>Variable</code> is used, <code>cycle</code> is almost ignored (see below) but has
to be present if you want to enter <code>freq</code> (and you usually do).</p>
<p>Some options to try (besides the obvious):</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="ex">./leo</span> 1 <span class="kw">|</span> <span class="fu">cat</span> <span class="at">-</span> /dev/tty <span class="kw">|</span> <span class="fu">gs</span> <span class="at">-</span></span></code></pre></div>
<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="ex">./leo</span> 1 <span class="kw">|</span> <span class="fu">cat</span> <span class="at">-</span> /dev/tty <span class="kw">|</span> <span class="fu">gs</span> <span class="at">-</span></span></code></pre></div>
<p>This draws the basic pattern I invented in high school:</p>
<p>You take a big sheet of “arithmetic” paper and draw a line
of length 1 (between 2 crossings) at the center of the sheet:</p>
@@ -254,26 +253,26 @@ the opening for step 1 is not a single line but a cross:</p>
<pre><code> \./
/ \</code></pre>
<p>To watch it repeatedly (as a screen saver), use:</p>
<div class="sourceCode" id="cb15"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb15-1"><a href="#cb15-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./leo</span> 2 <span class="kw">|</span> <span class="fu">cat</span> <span class="at">-</span> /dev/tty <span class="kw">|</span> <span class="fu">gs</span> <span class="at">-</span></span></code></pre></div>
<div class="sourceCode" id="cb15"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb15-1"><a href="#cb15-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./leo</span> 2 <span class="kw">|</span> <span class="fu">cat</span> <span class="at">-</span> /dev/tty <span class="kw">|</span> <span class="fu">gs</span> <span class="at">-</span></span></code></pre></div>
<p>The command line:</p>
<div class="sourceCode" id="cb16"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb16-1"><a href="#cb16-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./leo</span> Variable 1 <span class="kw">|</span> <span class="fu">cat</span> <span class="at">-</span> /dev/tty <span class="kw">|</span> <span class="fu">gs</span> <span class="at">-</span></span></code></pre></div>
<div class="sourceCode" id="cb16"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb16-1"><a href="#cb16-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./leo</span> Variable 1 <span class="kw">|</span> <span class="fu">cat</span> <span class="at">-</span> /dev/tty <span class="kw">|</span> <span class="fu">gs</span> <span class="at">-</span></span></code></pre></div>
<p>draws the same as above. Try:</p>
<div class="sourceCode" id="cb17"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb17-1"><a href="#cb17-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./leo</span> Variable 1 1 <span class="kw">|</span> <span class="fu">cat</span> <span class="at">-</span> /dev/tty <span class="kw">|</span> <span class="fu">gs</span> <span class="at">-</span></span></code></pre></div>
<div class="sourceCode" id="cb17"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb17-1"><a href="#cb17-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./leo</span> Variable 1 1 <span class="kw">|</span> <span class="fu">cat</span> <span class="at">-</span> /dev/tty <span class="kw">|</span> <span class="fu">gs</span> <span class="at">-</span></span></code></pre></div>
<p>What happened to the picture? Increase <code>freq</code> and watch the changes.</p>
<p>If <code>cycle</code> is more than 1, the program loops, allowing the user to
enjoy randomly changing patterns (the delay is 3 seconds),
but there is a secret switch to suppress looping: useful
if you want to pipe the output to a printer.</p>
<p><code>uudecode</code> the spoiler below if you really want to know.</p>
<pre><code>begin 664 spoiler1
M*%1H92!C;VQO;B J:7,J(&#39;1H92!S96-R970@&lt;W=I=&amp;-H(&quot;T@=&amp;AE(&#39;-P86-E
=(&amp;)E9F]R92!I=&quot;!I&lt;R!N;W0@82!M:7-T86ME*0II
<pre><code> begin 664 spoiler1
M*%1H92!C;VQO;B J:7,J(&#39;1H92!S96-R970@&lt;W=I=&amp;-H(&quot;T@=&amp;AE(&#39;-P86-E
=(&amp;)E9F]R92!I=&quot;!I&lt;R!N;W0@82!M:7-T86ME*0II
end</code></pre>
end</code></pre>
<p>If <code>Variable</code> is used, the actual value of <code>cycle</code> doesn’t matter,
as far as it is &gt; 1. To figure out what difference
<code>cycle</code> makes when <code>Variable</code> is not used, try</p>
<div class="sourceCode" id="cb19"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb19-1"><a href="#cb19-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./leo</span> Variable 37 80 <span class="kw">|</span> <span class="fu">cat</span> <span class="at">-</span> /dev/tty <span class="kw">|</span> <span class="fu">gs</span> <span class="at">-</span></span></code></pre></div>
<div class="sourceCode" id="cb19"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb19-1"><a href="#cb19-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./leo</span> Variable 37 80 <span class="kw">|</span> <span class="fu">cat</span> <span class="at">-</span> /dev/tty <span class="kw">|</span> <span class="fu">gs</span> <span class="at">-</span></span></code></pre></div>
<p>and other values of <code>cycle</code>; smaller values usually require
smaller values of <code>freq</code> for the patterns to be non-trivial.</p>
<p>The options <code>deep</code> and <code>right</code> make the patterns to be drawn in different
+3 -3
View File
@@ -1,14 +1,14 @@
## To build:
```sh
make all
make all
```
## To use:
```sh
./makarios
./makarios
```
@@ -24,7 +24,7 @@ This program takes no arguments. It emits the base 8 representation
of prime palindromes (palindromic in base 8, of course).
```
^_^
^_^
```
+4 -5
View File
@@ -135,8 +135,7 @@
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<br><br></li>
<li>Name: <a href="../../authors.html#Selene_Makarios">Selene Makarios</a><br>
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<br><br></li>
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em></li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -145,16 +144,16 @@ Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<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> all</span></code></pre></div>
<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> all</span></code></pre></div>
<h2 id="to-use">To use:</h2>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./makarios</span></span></code></pre></div>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./makarios</span></span></code></pre></div>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>The judges were impressed that such a small program could do so much!
Can you figure out how it does it?</p>
<h2 id="authors-remarks">Author’s remarks:</h2>
<p>This program takes no arguments. It emits the base 8 representation
of prime palindromes (palindromic in base 8, of course).</p>
<pre><code>^_^</code></pre>
<pre><code> ^_^</code></pre>
<!--
Copyright © 1984-2024 by Landon Curt Noll. All Rights Reserved.
+6 -6
View File
@@ -1,7 +1,7 @@
## To build:
```sh
make all
make all
```
@@ -10,7 +10,7 @@ make all
The current status of this entry is:
```
STATUS: INABIAF - please **DO NOT** fix
STATUS: INABIAF - please **DO NOT** fix
```
For more detailed information see [1995 savastio bugs](../../bugs.html#1995_savastio).
@@ -19,8 +19,8 @@ For more detailed information see [1995 savastio bugs](../../bugs.html#1995_sava
## To use:
```sh
./savastio
# enter a POSITIVE number such as 100
./savastio
# enter a POSITIVE number such as 100
```
NOTE: if you specify a negative number it will get stuck, showing no output. But
@@ -30,7 +30,7 @@ what happens if you give a non-number?
## Try:
```sh
./try.sh
./try.sh
```
@@ -59,7 +59,7 @@ matters, the buckets are arranged backwards in the block. For example,
the number 8347108947139478934713847134 is represented as:
```
7134 1384 9347 3947 9471 7108 834
7134 1384 9347 3947 9471 7108 834
```
### Platform limitations
+7 -8
View File
@@ -132,8 +132,7 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#Michael_Savastio">Michael Savastio</a><br>
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<br><br></li>
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em></li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -142,18 +141,18 @@ Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<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> all</span></code></pre></div>
<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> all</span></code></pre></div>
<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>
<pre><code> STATUS: INABIAF - please **DO NOT** fix</code></pre>
<p>For more detailed information see <a href="../../bugs.html#1995_savastio">1995 savastio 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">./savastio</span></span>
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a><span class="co"># enter a POSITIVE number such as 100</span></span></code></pre></div>
<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">./savastio</span></span>
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a> <span class="co"># enter a POSITIVE number such as 100</span></span></code></pre></div>
<p>NOTE: if you specify a negative number it will get stuck, showing no output. But
what happens if you give a non-number?</p>
<h2 id="try">Try:</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">./try.sh</span></span></code></pre></div>
<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">./try.sh</span></span></code></pre></div>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>I know an l when I see a 1.</p>
<h2 id="authors-remarks">Author’s remarks:</h2>
@@ -171,7 +170,7 @@ list</a> of blocks each
containing 1000 buckets of 4-digit integers. To further confuse
matters, the buckets are arranged backwards in the block. For example,
the number 8347108947139478934713847134 is represented as:</p>
<pre><code>7134 1384 9347 3947 9471 7108 834</code></pre>
<pre><code> 7134 1384 9347 3947 9471 7108 834</code></pre>
<h3 id="platform-limitations">Platform limitations</h3>
<p>Long integers must be at least 4 bytes.</p>
<h3 id="features">Features</h3>
+3 -3
View File
@@ -1,21 +1,21 @@
## To build:
```sh
make all
make all
```
## To use:
```sh
./schnitzi num
./schnitzi num
```
## Try:
```sh
./try.sh
./try.sh
```
WARNING: the author warns to not use too high a number! If you wish to ignore
+4 -5
View File
@@ -132,8 +132,7 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#Mark_Schnitzius">Mark Schnitzius</a><br>
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<br><br></li>
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em></li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -142,11 +141,11 @@ Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<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> all</span></code></pre></div>
<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> all</span></code></pre></div>
<h2 id="to-use">To use:</h2>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./schnitzi</span> num</span></code></pre></div>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./schnitzi</span> num</span></code></pre></div>
<h2 id="try">Try:</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">./try.sh</span></span></code></pre></div>
<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">./try.sh</span></span></code></pre></div>
<p>WARNING: the author warns to not use too high a number! If you wish to ignore
the warning it is an exercise to determine how high is too high. :-)</p>
<h2 id="judges-remarks">Judges’ remarks:</h2>
+2 -2
View File
@@ -1,14 +1,14 @@
## To build:
```sh
make all
make all
```
## To use:
```sh
./spinellis < spinellis.c
./spinellis < spinellis.c
```
+3 -4
View File
@@ -132,8 +132,7 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#Diomidis_Spinellis">Diomidis Spinellis</a><br>
Location: <a href="../../location.html#GR">GR</a> - <em>Hellenic Republic</em> (<em>Greece</em>)
<br><br></li>
Location: <a href="../../location.html#GR">GR</a> - <em>Hellenic Republic</em> (<em>Greece</em>)</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -142,9 +141,9 @@ Location: <a href="../../location.html#GR">GR</a> - <em>Hellenic Republic</em> (
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<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> all</span></code></pre></div>
<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> all</span></code></pre></div>
<h2 id="to-use">To use:</h2>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./spinellis</span> <span class="op">&lt;</span> spinellis.c</span></code></pre></div>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./spinellis</span> <span class="op">&lt;</span> spinellis.c</span></code></pre></div>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>While the code does not abuse the rules, its output surely does!</p>
<p>P.S. Does the source have any spelling errors?</p>
+84 -85
View File
@@ -1,7 +1,7 @@
## To build:
```sh
make all
make all
```
The authors provided a spoiler version, originally uuencoded but uudecoded by us
@@ -13,7 +13,7 @@ in 2023. See [Alternate code](#alternate-code) below.
The current status of this entry is:
```
STATUS: missing file - please provide it
STATUS: missing file - please provide it
```
For more detailed information see [1995 vanschnitz bugs](../../bugs.html#1995_vanschnitz).
@@ -22,14 +22,14 @@ For more detailed information see [1995 vanschnitz bugs](../../bugs.html#1995_va
## To use:
```sh
./vanschnitz
./vanschnitz
```
## Try:
```sh
./try.sh
./try.sh
```
@@ -44,7 +44,7 @@ to first try and figure out the program without the spoiler.
### Alternate build:
```sh
make alt
make alt
```
@@ -85,7 +85,7 @@ of Hanoi problem with four disks, you would compile the program
like this:
```sh
gcc hanoi.c -o hanoi -Dn=4
gcc hanoi.c -o hanoi -Dn=4
```
A default value of `5` will be used for `n` if you do not define
@@ -112,7 +112,7 @@ included for people who can only run K&R). A good way to see
the resulting program (on a Unix system) is to do the command
```sh
gcc hanoi.c -E -Dn=5 | grep -v \# | grep -v ^\$
gcc hanoi.c -E -Dn=5 | grep -v \# | grep -v ^\$
```
For an odd number of disks, the program will provide a
@@ -125,84 +125,83 @@ meaningful symbol names and comments, but we encourage you
to try to decipher the program without it...
```
begin 444 spoiler.c
M(VEF;F1E9B`@24Y)5$E!3$E:140*"B\J"B`J("!)9B!N(&ES;B=T(&1E9FEN
M960L(&UA:V4@:70@-0H@*B\*(VEF;F1E9B`@;@HC9&5F:6YE("!N(#`U"B-E
M;F1I9@H*+RH*("H@4V]M92!U<V5F=6P@=F%R:6%B;&5S"B`J+PHC9&5F:6YE
M("!42$E37T9)3$4@7U]&24Q%7U\@"B-D969I;F4@($9/4DU!5%]35%))3D<@
M(DUO=F4@9&ES:R`E9"!F<F]M('!E9R`E9"!T;R!P96<@)61<;B(*(V1E9FEN
M92`@24Y)5$E!3$E:140*"B\J"B`J(%1R86YS;&%T92!N(&EN=&\@8FET<PH@
M*B\*(VEF("`@("`@;B8P,0HC9&5F:6YE("!B:70P"B-E;F1I9@HC:68@("`@
M("!N)C`R"B-D969I;F4@(&)I=#$*(V5N9&EF"B-I9B`@("`@(&XF,#0*(V1E
M9FEN92`@8FET,@HC96YD:68*(VEF("`@("`@;CX^,PHC9&5F:6YE("!B:70S
M"B-E;F1I9@H*+RH*("H@2&5R92=S('1H92!P<F]G<F%M(0H@*B\*;6%I;B@I
M>PIP<FEN=&8H"B-I;F-L=61E(%1(25-?1DE,10HC9&5F:6YE("!.3U=?1$]?
M5$A%7TY534)%4E,*(VEN8VQU9&4@5$A)4U]&24Q%"BD[?0H*(V5L<V4*"B\J
M"B`J($-H96-K('1O('-E92!I9B!T:&4@;G5M8F5R(&ES('IE<F\@*&)O='1O
M;2!O9B!R96-U<G-I;VXI"B`J+PHC:69D968@("!B:70P"B-D969I;F4@($Y?
M25-?3D]47UI%4D\*(V5N9&EF"B-I9F1E9B`@(&)I=#$*(V1E9FEN92`@3E])
M4U].3U1?6D523PHC96YD:68*(VEF9&5F("`@8FET,@HC9&5F:6YE("!.7TE3
M7TY/5%]:15)/"B-E;F1I9@HC:69D968@("!B:70S"B-D969I;F4@($Y?25-?
M3D]47UI%4D\*(V5N9&EF"@HC:69D968@("!.7TE37TY/5%]:15)/"B-U;F1E
M9B`@($Y?25-?3D]47UI%4D\*"B\J"B`J($1E8W)E;65N="!N"B`J+PHC:69N
M9&5F("!B:70P"B-D969I;F4@(&)I=#`*(VEF;F1E9B`@8FET,0HC9&5F:6YE
M("!B:70Q"B-I9FYD968@(&)I=#(*(V1E9FEN92`@8FET,@HC:69N9&5F("!B
M:70S"B-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\J("-I9F1E9B!.7TE37TY/5%]:15)/("HO
M"@HC96YD:68@("\J("-E;'-E(&]F("-I9FYD968@24Y)5$E!3$E:140@*B\*
`
end
```
+85 -87
View File
@@ -135,8 +135,7 @@
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<br><br></li>
<li>Name: <a href="../../authors.html#Mark_Schnitzius">Mark Schnitzius</a><br>
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<br><br></li>
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em></li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -145,24 +144,24 @@ Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<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> all</span></code></pre></div>
<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> all</span></code></pre></div>
<p>The authors provided a spoiler version, originally uuencoded but uudecoded by us
in 2023. See <a href="#alternate-code">Alternate code</a> below.</p>
<h3 id="bugs-and-misfeatures">Bugs and (Mis)features:</h3>
<p>The current status of this entry is:</p>
<pre><code>STATUS: missing file - please provide it</code></pre>
<pre><code> STATUS: missing file - please provide it</code></pre>
<p>For more detailed information see <a href="../../bugs.html#1995_vanschnitz">1995 vanschnitz 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">./vanschnitz</span></span></code></pre></div>
<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">./vanschnitz</span></span></code></pre></div>
<h2 id="try">Try:</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">./try.sh</span></span></code></pre></div>
<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">./try.sh</span></span></code></pre></div>
<h2 id="alternate-code">Alternate code:</h2>
<p>The authors provided a spoiler version of the program. Originally uuencoded we
have decoded it for the wider audience in <a href="vanschnitz.alt.c">vanschnitz.alt.c</a>. The
<code>uuencode</code>d blob is still available in their remarks below. They encourage you
to first try and figure out the program without the spoiler.</p>
<h3 id="alternate-build">Alternate build:</h3>
<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="fu">make</span> alt</span></code></pre></div>
<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a> <span class="fu">make</span> alt</span></code></pre></div>
<h3 id="alternate-use">Alternate use:</h3>
<p>Use <code>vanschnitz.alt</code> as you would <code>vanschnitz</code> above.</p>
<h2 id="judges-remarks">Judges’ remarks:</h2>
@@ -188,7 +187,7 @@ for. This is done by defining the symbol <code>n</code> on the compile
line. For instance, to cause the compiler to solve the Towers
of Hanoi problem with four disks, you would compile the program
like this:</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">gcc</span> hanoi.c <span class="at">-o</span> hanoi <span class="at">-Dn</span><span class="op">=</span>4</span></code></pre></div>
<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">gcc</span> hanoi.c <span class="at">-o</span> hanoi <span class="at">-Dn</span><span class="op">=</span>4</span></code></pre></div>
<p>A default value of <code>5</code> will be used for <code>n</code> if you do not define
it on the command line. The value of <code>n</code> cannot be greater than
fifteen (the compiler we used to test has a limit on the <code>#include</code>
@@ -209,7 +208,7 @@ ANSI C feature in which adjacent character strings are
concatenated; a version that does not use this feature has been
included for people who can only run K&amp;R). A good way to see
the resulting program (on a Unix system) is to do the command</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">gcc</span> hanoi.c <span class="at">-E</span> <span class="at">-Dn</span><span class="op">=</span>5 <span class="kw">|</span> <span class="fu">grep</span> <span class="at">-v</span> <span class="dt">\#</span> <span class="kw">|</span> <span class="fu">grep</span> <span class="at">-v</span> ^<span class="dt">\$</span></span></code></pre></div>
<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">gcc</span> hanoi.c <span class="at">-E</span> <span class="at">-Dn</span><span class="op">=</span>5 <span class="kw">|</span> <span class="fu">grep</span> <span class="at">-v</span> <span class="dt">\#</span> <span class="kw">|</span> <span class="fu">grep</span> <span class="at">-v</span> ^<span class="dt">\$</span></span></code></pre></div>
<p>For an odd number of disks, the program will provide a
solution wherein the disks end up on peg 2; for an even
number of disks, they will end on peg 3. This should
@@ -217,84 +216,83 @@ provide some hint as to what sort of algorithm is used.</p>
<p>We have included a <a href="spoiler.c">spoiler</a> version of the program, with
meaningful symbol names and comments, but we encourage you
to try to decipher the program without it…</p>
<pre><code>begin 444 spoiler.c
M(VEF;F1E9B`@24Y)5$E!3$E:140*&quot;B\J&quot;B`J(&quot;!)9B!N(&amp;ES;B=T(&amp;1E9FEN
M960L(&amp;UA:V4@:70@-0H@*B\*(VEF;F1E9B`@;@HC9&amp;5F:6YE(&quot;!N(#`U&quot;B-E
M;F1I9@H*+RH*(&quot;H@4V]M92!U&lt;V5F=6P@=F%R:6%B;&amp;5S&quot;B`J+PHC9&amp;5F:6YE
M(&quot;!42$E37T9)3$4@7U]&amp;24Q%7U\@&quot;B-D969I;F4@($9/4DU!5%]35%))3D&lt;@
M(DUO=F4@9&amp;ES:R`E9&quot;!F&lt;F]M(&#39;!E9R`E9&quot;!T;R!P96&lt;@)61&lt;;B(*(V1E9FEN
M92`@24Y)5$E!3$E:140*&quot;B\J&quot;B`J(%1R86YS;&amp;%T92!N(&amp;EN=&amp;\@8FET&lt;PH@
M*B\*(VEF(&quot;`@(&quot;`@;B8P,0HC9&amp;5F:6YE(&quot;!B:70P&quot;B-E;F1I9@HC:68@(&quot;`@
M(&quot;!N)C`R&quot;B-D969I;F4@(&amp;)I=#$*(V5N9&amp;EF&quot;B-I9B`@(&quot;`@(&amp;XF,#0*(V1E
M9FEN92`@8FET,@HC96YD:68*(VEF(&quot;`@(&quot;`@;CX^,PHC9&amp;5F:6YE(&quot;!B:70S
M&quot;B-E;F1I9@H*+RH*(&quot;H@2&amp;5R92=S(&#39;1H92!P&lt;F]G&lt;F%M(0H@*B\*;6%I;B@I
M&gt;PIP&lt;FEN=&amp;8H&quot;B-I;F-L=61E(%1(25-?1DE,10HC9&amp;5F:6YE(&quot;!.3U=?1$]?
M5$A%7TY534)%4E,*(VEN8VQU9&amp;4@5$A)4U]&amp;24Q%&quot;BD[?0H*(V5L&lt;V4*&quot;B\J
M&quot;B`J($-H96-K(&#39;1O(&#39;-E92!I9B!T:&amp;4@;G5M8F5R(&amp;ES(&#39;IE&lt;F\@*&amp;)O=&#39;1O
M;2!O9B!R96-U&lt;G-I;VXI&quot;B`J+PHC:69D968@(&quot;!B:70P&quot;B-D969I;F4@($Y?
M25-?3D]47UI%4D\*(V5N9&amp;EF&quot;B-I9F1E9B`@(&amp;)I=#$*(V1E9FEN92`@3E])
M4U].3U1?6D523PHC96YD:68*(VEF9&amp;5F(&quot;`@8FET,@HC9&amp;5F:6YE(&quot;!.7TE3
M7TY/5%]:15)/&quot;B-E;F1I9@HC:69D968@(&quot;!B:70S&quot;B-D969I;F4@($Y?25-?
M3D]47UI%4D\*(V5N9&amp;EF&quot;@HC:69D968@(&quot;!.7TE37TY/5%]:15)/&quot;B-U;F1E
M9B`@($Y?25-?3D]47UI%4D\*&quot;B\J&quot;B`J($1E8W)E;65N=&quot;!N&quot;B`J+PHC:69N
M9&amp;5F(&quot;!B:70P&quot;B-D969I;F4@(&amp;)I=#`*(VEF;F1E9B`@8FET,0HC9&amp;5F:6YE
M(&quot;!B:70Q&quot;B-I9FYD968@(&amp;)I=#(*(V1E9FEN92`@8FET,@HC:69N9&amp;5F(&quot;!B
M:70S&quot;B-D969I;F4@(&amp;)I=#,*(V5L&lt;V4*(W5N9&amp;5F(&quot;`@8FET,PHC96YD:68*
M(V5L&lt;V4*(W5N9&amp;5F(&quot;`@8FET,@HC96YD:68*(V5L&lt;V4*(W5N9&amp;5F(&quot;`@8FET
M,0HC96YD:68*(V5L&lt;V4*(W5N9&amp;5F(&quot;`@8FET,`HC96YD:68*&quot;B\J&quot;B`J(&quot;!(
M97)E)W,@&lt;F5C=7)S:6]N&quot;B`J+PHC:6YC;&#39;5D92!42$E37T9)3$4*&quot;B\J&quot;B`J
M(&quot;!.;W1E.B!/9&amp;0@;G5M8F5R960@9&amp;ES:W,@86QW87ES(&amp;-Y8VQE(&amp;9R;VT@
M,2`]/B`R(#T^(#,@/3X@,2`]/B`R(#T^(#,*(&quot;H@($5V96X@;G5M8F5R960@
M9&amp;ES:W,@86QW87ES(&amp;-Y8VQE(&amp;9R;VT@,2`]/B`S(#T^(#(@/3X@,2`]/B`S
M(#T^(#(*(&quot;HO&quot;@HO*@H@*B!#:&amp;5C:R!T;R!S964@:68@;B!I&lt;R!Z97)O+B!)
M9B!S;RP@=V4G&lt;F4@;6]V:6YG(&amp;1I&lt;VL@,2X*(&quot;H@26X@9V5N97)A;&quot;P@9F]R
M(&amp;%N&gt;2!N(&#39;=E)W)E(&amp;UO=FEN9R!D:7-K(&amp;XK,2X@5&amp;AA=&quot;!M96%N&lt;R!T:&amp;%T
M&quot;B`J(&#39;=H96X@;B!I&lt;R!O9&amp;0L(&#39;=E)W)E(&amp;UO=FEN9R!A;B!E=F5N(&amp;1I&lt;VLL
M(&amp;%N9&quot;!V:6-E(&#39;9E&lt;G-A+@H@*B\*(VEF;F1E9B`@8FET,`HC:69N9&amp;5F(&quot;!B
M:70Q&quot;B-I9FYD968@(&amp;)I=#(*(VEF;F1E9B`@8FET,PHC9&amp;5F:6YE(&quot;!.7TE3
M7UI%4D\*(V5N9&amp;EF&quot;B-E;F1I9@HC96YD:68*(V5N9&amp;EF&quot;@HC:69D968@(&quot;!.
M7TE37UI%4D\*(W5N9&amp;5F(&quot;`@3E])4U]:15)/&quot;@HC:69N9&amp;5F(&quot;!.3U=?1$]?
M5$A%7TY534)%4E,*1D]234%47U-44DE.1PHC96QS90H*+RH*(&quot;H@($EF(&amp;1I
M&lt;VL@,2!I&lt;R!O;B!P96&lt;@,BP@;6]V92!I=&quot;`R(#T^(#,*(&quot;HO&quot;B-I9F1E9B`@
M($1)4TM?3TY%7TE37T].7U!%1U]45T\*+#$L,BPS&quot;B-U;F1E9B`@($1)4TM?
M3TY%7TE37T].7U!%1U]45T\*(V1E9FEN92`@1$E32U]/3D5?25-?3TY?4$5&#39;
M7U1(4D5%&quot;B-E;&#39;-E&quot;@HO*@H@*B`@268@9&amp;ES:R`Q(&amp;ES(&amp;]N(&#39;!E9R`S+&quot;!M
M;W9E(&amp;ET(#,@/3X@,0H@*B\*(VEF9&amp;5F(&quot;`@1$E32U]/3D5?25-?3TY?4$5&#39;
M7U1(4D5%&quot;BPQ+#,L,0HC=6YD968@(&quot;!$25-+7T].15])4U]/3E]014=?5$A2
M144*(V5L&lt;V4*&quot;B\J&quot;B`J(&quot;!$:7-K(#$@;75S=&quot;!B92!O;B!P96&lt;@,2X@36]V
M92!I=&quot;`Q(#T^(#(*(&quot;HO&quot;BPQ+#$L,@HC9&amp;5F:6YE(&quot;!$25-+7T].15])4U]/
M3E]014=?5%=/&quot;B-E;F1I9@HC96YD:68*(V5N9&amp;EF&quot;B-E;&#39;-E&quot;@HO*@H@*B`@
M2&amp;5R92P@=V4@:&amp;%N9&amp;QE(&amp;1I&lt;VMS(#XQ+B!296UE;6)E&lt;B!T:&amp;%T(&amp;]D9&#39;,@
M8WEC;&amp;4@,2`]/B`R(#T^(#,@/3X@,2P*(&quot;H@(&amp;%N9&quot;!E=F5N&lt;R!C&gt;6-L92`Q
M(#T^(#(@/3X@,R`]/B`Q+B!#;VUB:6YE(&#39;1H:7,@=VET:&quot;!T:&amp;4@:VYO=VQE
M9&amp;=E&quot;B`J(&quot;!O9B!W:&amp;5R92!D:7-K(#$@:7,L(&amp;%N9&quot;!W92!C86X@9&amp;5T97)M
M:6YE(&amp;AO=R!T;R!M;W9E(&amp;%N&gt;2!D:7-K+@H@*B\*(VEF;F1E9B`@3D]77T1/
M7U1(15].54U&quot;15)3&quot;D9/4DU!5%]35%))3D&lt;*(V5L&lt;V4*&quot;B\J&quot;B`J(&quot;!0&lt;FEN
M=&quot;!T:&amp;4@9&amp;ES:R!N=6UB97(N(%)E;65M8F5R+&quot;!D:7-K(&amp;YU;6)E&lt;B`](&amp;XK
M,0H@*B\*+#$*(VEF9&amp;5F(&quot;`@8FET,`HK,0HC96YD:68*(VEF9&amp;5F(&quot;`@8FET
M,0HK,@HC96YD:68*(VEF9&amp;5F(&quot;`@8FET,@HK-`HC96YD:68*(VEF9&amp;5F(&quot;`@
M8FET,PHK.`HC96YD:68*&quot;B\J&quot;B`J(&quot;!$:7-K(#$@;VX@&lt;&amp;5G(#(@&quot;B`J+PHC
M:69D968@(&quot;!$25-+7T].15])4U]/3E]014=?5%=/&quot;B-I9F1E9B`@(&amp;)I=#`*
M+#$L,R`@(&quot;`O*B!%=F5N.B`Q(#T^(#,@(&quot;AN(&amp;ES(&amp;]D9&quot;P@&lt;V\@=&amp;AE(&amp;1I
M&lt;VL@:7,@979E;BD@*B\*(V5L&lt;V4*+#,L,2`@(&quot;`O*B`@3V1D.B`S(#T^(#$@
M(&quot;HO&quot;B-E;F1I9@HC96QS90H*+RH*(&quot;H@($1I&lt;VL@,2!O;B!P96&lt;@,R`*(&quot;HO
M&quot;B-I9F1E9B`@($1)4TM?3TY%7TE37T].7U!%1U]42%)%10HC:69D968@(&quot;!B
M:70P&quot;BPR+#$@(&quot;`@+RH@179E;CH@,B`]/B`Q(&quot;HO&quot;B-E;&#39;-E&quot;BPQ+#(@(&quot;`@
M+RH@($]D9#H@,2`]/B`R(&quot;HO&quot;B-E;F1I9@HC96QS90H*+RH*(&quot;H@($1I&lt;VL@
M,2!O;B!P96&lt;@,2`*(&quot;HO&quot;B-I9F1E9B`@(&amp;)I=#`*+#,L,B`@(&quot;`O*B!%=F5N
M.B`S(#T^(#(@*B\*(V5L&lt;V4*+#(L,R`@(&quot;`O*B`@3V1D.B`R(#T^(#,@*B\*
M(V5N9&amp;EF&quot;B-E;F1I9@HC96YD:68*(V5N9&amp;EF&quot;B-E;F1I9@H*+RH*(&quot;H@($UO
M&lt;F4@&lt;F5C=7)S:6]N&quot;B`J+PHC:6YC;&#39;5D92!42$E37T9)3$4*&quot;B\J&quot;B`J(&quot;!)
M;F-R96UE;G0@;@H@*B\*(VEF9&amp;5F(&quot;`@8FET,`HC=6YD968@(&quot;!B:70P&quot;B-I
M9F1E9B`@(&amp;)I=#$*(W5N9&amp;5F(&quot;`@8FET,0HC:69D968@(&quot;!B:70R&quot;B-U;F1E
M9B`@(&amp;)I=#(*(VEF9&amp;5F(&quot;`@8FET,PHC=6YD968@(&quot;!B:70S&quot;B-E;&#39;-E&quot;B-D
M969I;F4@(&amp;)I=#,*(V5N9&amp;EF&quot;B-E;&#39;-E&quot;B-D969I;F4@(&amp;)I=#(*(V5N9&amp;EF
M&quot;B-E;&#39;-E&quot;B-D969I;F4@(&amp;)I=#$*(V5N9&amp;EF&quot;B-E;&#39;-E&quot;B-D969I;F4@(&amp;)I
M=#`*(V5N9&amp;EF&quot;@HC96YD:68@(&quot;\J(&quot;-I9F1E9B!.7TE37TY/5%]:15)/(&quot;HO
M&quot;@HC96YD:68@(&quot;\J(&quot;-E;&#39;-E(&amp;]F(&quot;-I9FYD968@24Y)5$E!3$E:140@*B\*
`
end
</code></pre>
<pre><code> begin 444 spoiler.c
M(VEF;F1E9B`@24Y)5$E!3$E:140*&quot;B\J&quot;B`J(&quot;!)9B!N(&amp;ES;B=T(&amp;1E9FEN
M960L(&amp;UA:V4@:70@-0H@*B\*(VEF;F1E9B`@;@HC9&amp;5F:6YE(&quot;!N(#`U&quot;B-E
M;F1I9@H*+RH*(&quot;H@4V]M92!U&lt;V5F=6P@=F%R:6%B;&amp;5S&quot;B`J+PHC9&amp;5F:6YE
M(&quot;!42$E37T9)3$4@7U]&amp;24Q%7U\@&quot;B-D969I;F4@($9/4DU!5%]35%))3D&lt;@
M(DUO=F4@9&amp;ES:R`E9&quot;!F&lt;F]M(&#39;!E9R`E9&quot;!T;R!P96&lt;@)61&lt;;B(*(V1E9FEN
M92`@24Y)5$E!3$E:140*&quot;B\J&quot;B`J(%1R86YS;&amp;%T92!N(&amp;EN=&amp;\@8FET&lt;PH@
M*B\*(VEF(&quot;`@(&quot;`@;B8P,0HC9&amp;5F:6YE(&quot;!B:70P&quot;B-E;F1I9@HC:68@(&quot;`@
M(&quot;!N)C`R&quot;B-D969I;F4@(&amp;)I=#$*(V5N9&amp;EF&quot;B-I9B`@(&quot;`@(&amp;XF,#0*(V1E
M9FEN92`@8FET,@HC96YD:68*(VEF(&quot;`@(&quot;`@;CX^,PHC9&amp;5F:6YE(&quot;!B:70S
M&quot;B-E;F1I9@H*+RH*(&quot;H@2&amp;5R92=S(&#39;1H92!P&lt;F]G&lt;F%M(0H@*B\*;6%I;B@I
M&gt;PIP&lt;FEN=&amp;8H&quot;B-I;F-L=61E(%1(25-?1DE,10HC9&amp;5F:6YE(&quot;!.3U=?1$]?
M5$A%7TY534)%4E,*(VEN8VQU9&amp;4@5$A)4U]&amp;24Q%&quot;BD[?0H*(V5L&lt;V4*&quot;B\J
M&quot;B`J($-H96-K(&#39;1O(&#39;-E92!I9B!T:&amp;4@;G5M8F5R(&amp;ES(&#39;IE&lt;F\@*&amp;)O=&#39;1O
M;2!O9B!R96-U&lt;G-I;VXI&quot;B`J+PHC:69D968@(&quot;!B:70P&quot;B-D969I;F4@($Y?
M25-?3D]47UI%4D\*(V5N9&amp;EF&quot;B-I9F1E9B`@(&amp;)I=#$*(V1E9FEN92`@3E])
M4U].3U1?6D523PHC96YD:68*(VEF9&amp;5F(&quot;`@8FET,@HC9&amp;5F:6YE(&quot;!.7TE3
M7TY/5%]:15)/&quot;B-E;F1I9@HC:69D968@(&quot;!B:70S&quot;B-D969I;F4@($Y?25-?
M3D]47UI%4D\*(V5N9&amp;EF&quot;@HC:69D968@(&quot;!.7TE37TY/5%]:15)/&quot;B-U;F1E
M9B`@($Y?25-?3D]47UI%4D\*&quot;B\J&quot;B`J($1E8W)E;65N=&quot;!N&quot;B`J+PHC:69N
M9&amp;5F(&quot;!B:70P&quot;B-D969I;F4@(&amp;)I=#`*(VEF;F1E9B`@8FET,0HC9&amp;5F:6YE
M(&quot;!B:70Q&quot;B-I9FYD968@(&amp;)I=#(*(V1E9FEN92`@8FET,@HC:69N9&amp;5F(&quot;!B
M:70S&quot;B-D969I;F4@(&amp;)I=#,*(V5L&lt;V4*(W5N9&amp;5F(&quot;`@8FET,PHC96YD:68*
M(V5L&lt;V4*(W5N9&amp;5F(&quot;`@8FET,@HC96YD:68*(V5L&lt;V4*(W5N9&amp;5F(&quot;`@8FET
M,0HC96YD:68*(V5L&lt;V4*(W5N9&amp;5F(&quot;`@8FET,`HC96YD:68*&quot;B\J&quot;B`J(&quot;!(
M97)E)W,@&lt;F5C=7)S:6]N&quot;B`J+PHC:6YC;&#39;5D92!42$E37T9)3$4*&quot;B\J&quot;B`J
M(&quot;!.;W1E.B!/9&amp;0@;G5M8F5R960@9&amp;ES:W,@86QW87ES(&amp;-Y8VQE(&amp;9R;VT@
M,2`]/B`R(#T^(#,@/3X@,2`]/B`R(#T^(#,*(&quot;H@($5V96X@;G5M8F5R960@
M9&amp;ES:W,@86QW87ES(&amp;-Y8VQE(&amp;9R;VT@,2`]/B`S(#T^(#(@/3X@,2`]/B`S
M(#T^(#(*(&quot;HO&quot;@HO*@H@*B!#:&amp;5C:R!T;R!S964@:68@;B!I&lt;R!Z97)O+B!)
M9B!S;RP@=V4G&lt;F4@;6]V:6YG(&amp;1I&lt;VL@,2X*(&quot;H@26X@9V5N97)A;&quot;P@9F]R
M(&amp;%N&gt;2!N(&#39;=E)W)E(&amp;UO=FEN9R!D:7-K(&amp;XK,2X@5&amp;AA=&quot;!M96%N&lt;R!T:&amp;%T
M&quot;B`J(&#39;=H96X@;B!I&lt;R!O9&amp;0L(&#39;=E)W)E(&amp;UO=FEN9R!A;B!E=F5N(&amp;1I&lt;VLL
M(&amp;%N9&quot;!V:6-E(&#39;9E&lt;G-A+@H@*B\*(VEF;F1E9B`@8FET,`HC:69N9&amp;5F(&quot;!B
M:70Q&quot;B-I9FYD968@(&amp;)I=#(*(VEF;F1E9B`@8FET,PHC9&amp;5F:6YE(&quot;!.7TE3
M7UI%4D\*(V5N9&amp;EF&quot;B-E;F1I9@HC96YD:68*(V5N9&amp;EF&quot;@HC:69D968@(&quot;!.
M7TE37UI%4D\*(W5N9&amp;5F(&quot;`@3E])4U]:15)/&quot;@HC:69N9&amp;5F(&quot;!.3U=?1$]?
M5$A%7TY534)%4E,*1D]234%47U-44DE.1PHC96QS90H*+RH*(&quot;H@($EF(&amp;1I
M&lt;VL@,2!I&lt;R!O;B!P96&lt;@,BP@;6]V92!I=&quot;`R(#T^(#,*(&quot;HO&quot;B-I9F1E9B`@
M($1)4TM?3TY%7TE37T].7U!%1U]45T\*+#$L,BPS&quot;B-U;F1E9B`@($1)4TM?
M3TY%7TE37T].7U!%1U]45T\*(V1E9FEN92`@1$E32U]/3D5?25-?3TY?4$5&#39;
M7U1(4D5%&quot;B-E;&#39;-E&quot;@HO*@H@*B`@268@9&amp;ES:R`Q(&amp;ES(&amp;]N(&#39;!E9R`S+&quot;!M
M;W9E(&amp;ET(#,@/3X@,0H@*B\*(VEF9&amp;5F(&quot;`@1$E32U]/3D5?25-?3TY?4$5&#39;
M7U1(4D5%&quot;BPQ+#,L,0HC=6YD968@(&quot;!$25-+7T].15])4U]/3E]014=?5$A2
M144*(V5L&lt;V4*&quot;B\J&quot;B`J(&quot;!$:7-K(#$@;75S=&quot;!B92!O;B!P96&lt;@,2X@36]V
M92!I=&quot;`Q(#T^(#(*(&quot;HO&quot;BPQ+#$L,@HC9&amp;5F:6YE(&quot;!$25-+7T].15])4U]/
M3E]014=?5%=/&quot;B-E;F1I9@HC96YD:68*(V5N9&amp;EF&quot;B-E;&#39;-E&quot;@HO*@H@*B`@
M2&amp;5R92P@=V4@:&amp;%N9&amp;QE(&amp;1I&lt;VMS(#XQ+B!296UE;6)E&lt;B!T:&amp;%T(&amp;]D9&#39;,@
M8WEC;&amp;4@,2`]/B`R(#T^(#,@/3X@,2P*(&quot;H@(&amp;%N9&quot;!E=F5N&lt;R!C&gt;6-L92`Q
M(#T^(#(@/3X@,R`]/B`Q+B!#;VUB:6YE(&#39;1H:7,@=VET:&quot;!T:&amp;4@:VYO=VQE
M9&amp;=E&quot;B`J(&quot;!O9B!W:&amp;5R92!D:7-K(#$@:7,L(&amp;%N9&quot;!W92!C86X@9&amp;5T97)M
M:6YE(&amp;AO=R!T;R!M;W9E(&amp;%N&gt;2!D:7-K+@H@*B\*(VEF;F1E9B`@3D]77T1/
M7U1(15].54U&quot;15)3&quot;D9/4DU!5%]35%))3D&lt;*(V5L&lt;V4*&quot;B\J&quot;B`J(&quot;!0&lt;FEN
M=&quot;!T:&amp;4@9&amp;ES:R!N=6UB97(N(%)E;65M8F5R+&quot;!D:7-K(&amp;YU;6)E&lt;B`](&amp;XK
M,0H@*B\*+#$*(VEF9&amp;5F(&quot;`@8FET,`HK,0HC96YD:68*(VEF9&amp;5F(&quot;`@8FET
M,0HK,@HC96YD:68*(VEF9&amp;5F(&quot;`@8FET,@HK-`HC96YD:68*(VEF9&amp;5F(&quot;`@
M8FET,PHK.`HC96YD:68*&quot;B\J&quot;B`J(&quot;!$:7-K(#$@;VX@&lt;&amp;5G(#(@&quot;B`J+PHC
M:69D968@(&quot;!$25-+7T].15])4U]/3E]014=?5%=/&quot;B-I9F1E9B`@(&amp;)I=#`*
M+#$L,R`@(&quot;`O*B!%=F5N.B`Q(#T^(#,@(&quot;AN(&amp;ES(&amp;]D9&quot;P@&lt;V\@=&amp;AE(&amp;1I
M&lt;VL@:7,@979E;BD@*B\*(V5L&lt;V4*+#,L,2`@(&quot;`O*B`@3V1D.B`S(#T^(#$@
M(&quot;HO&quot;B-E;F1I9@HC96QS90H*+RH*(&quot;H@($1I&lt;VL@,2!O;B!P96&lt;@,R`*(&quot;HO
M&quot;B-I9F1E9B`@($1)4TM?3TY%7TE37T].7U!%1U]42%)%10HC:69D968@(&quot;!B
M:70P&quot;BPR+#$@(&quot;`@+RH@179E;CH@,B`]/B`Q(&quot;HO&quot;B-E;&#39;-E&quot;BPQ+#(@(&quot;`@
M+RH@($]D9#H@,2`]/B`R(&quot;HO&quot;B-E;F1I9@HC96QS90H*+RH*(&quot;H@($1I&lt;VL@
M,2!O;B!P96&lt;@,2`*(&quot;HO&quot;B-I9F1E9B`@(&amp;)I=#`*+#,L,B`@(&quot;`O*B!%=F5N
M.B`S(#T^(#(@*B\*(V5L&lt;V4*+#(L,R`@(&quot;`O*B`@3V1D.B`R(#T^(#,@*B\*
M(V5N9&amp;EF&quot;B-E;F1I9@HC96YD:68*(V5N9&amp;EF&quot;B-E;F1I9@H*+RH*(&quot;H@($UO
M&lt;F4@&lt;F5C=7)S:6]N&quot;B`J+PHC:6YC;&#39;5D92!42$E37T9)3$4*&quot;B\J&quot;B`J(&quot;!)
M;F-R96UE;G0@;@H@*B\*(VEF9&amp;5F(&quot;`@8FET,`HC=6YD968@(&quot;!B:70P&quot;B-I
M9F1E9B`@(&amp;)I=#$*(W5N9&amp;5F(&quot;`@8FET,0HC:69D968@(&quot;!B:70R&quot;B-U;F1E
M9B`@(&amp;)I=#(*(VEF9&amp;5F(&quot;`@8FET,PHC=6YD968@(&quot;!B:70S&quot;B-E;&#39;-E&quot;B-D
M969I;F4@(&amp;)I=#,*(V5N9&amp;EF&quot;B-E;&#39;-E&quot;B-D969I;F4@(&amp;)I=#(*(V5N9&amp;EF
M&quot;B-E;&#39;-E&quot;B-D969I;F4@(&amp;)I=#$*(V5N9&amp;EF&quot;B-E;&#39;-E&quot;B-D969I;F4@(&amp;)I
M=#`*(V5N9&amp;EF&quot;@HC96YD:68@(&quot;\J(&quot;-I9F1E9B!.7TE37TY/5%]:15)/(&quot;HO
M&quot;@HC96YD:68@(&quot;\J(&quot;-E;&#39;-E(&amp;]F(&quot;-I9FYD968@24Y)5$E!3$E:140@*B\*
`
end</code></pre>
<!--
Copyright © 1984-2024 by Landon Curt Noll. All Rights Reserved.