force use of pandoc version >= 3.1.12.2
The `bin/pandoc-wrapper.sh` tool will verify that the ssytem has a recent enough version of `pandoc(1)`. We explain why we insist on `pandoc(1)`. version >= 3.1.12.2 in comments where the $PANDOC_MIN_VERSION is set. Added `--wrap=preserve` as a default argument to `pandoc(1)`. While this change will impact every HTML file generated, we believe this will improve the ability of someone to look at the generated HTML and correlate with the original markdown. Changed `bin/pandoc-wrapper.sh` VERSION from "1.4.2 2024-03-17" to "1.4.3 2024-03-18". Performed `make www` to achieve all of the above and to generate HTML using the new `--wrap=preserve` `pandoc(1)` mode.
This commit is contained in:
1 parent
9eb7a54e9f
commit
b0b212acb1
402 files changed
+37061
-55132
No files matched your search
+29
-51
@@ -129,9 +129,9 @@
|
||||
|
||||
<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> -
|
||||
<em>United States of America</em> (<em>United States</em>) <br><br></li>
|
||||
<li>Name: <a href="../../authors.html#Christopher_Mills">Christopher 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 -->
|
||||
@@ -146,76 +146,54 @@ Mills</a><br> Location: <a href="../../location.html#US">US</a> -
|
||||
<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">./cmills</span> 5000</span></code></pre></div>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
<p>The Makefile uses several <code>-D</code> defines. The following is
|
||||
is a list of the macros that may be changed:</p>
|
||||
<p>The Makefile uses several <code>-D</code> defines. The following is is a list of the macros
|
||||
that may be changed:</p>
|
||||
<ul>
|
||||
<li><code>-DM=<max bet allowed></code></li>
|
||||
<li><code>-DN=<52 * number of decks used></code></li>
|
||||
<li><code>-DX=<how to seed the rand() generator></code></li>
|
||||
</ul>
|
||||
<p>The macro <code>V</code> should remain <code>void</code>.</p>
|
||||
<p>The author noted that a compiler being used assumed that
|
||||
<code>x=*p++</code> means <code>x*=p++</code> but do you know why? This
|
||||
is not so strange as it might seem if you look at <a
|
||||
href="https://www.bell-labs.com/usr/dmr/www/chist.html">C’s history</a>.
|
||||
Example code where this occurs is in John Lions’ Commentary on the Sixth
|
||||
Edition UNIX Operating System.</p>
|
||||
<p>The author noted that a compiler being used assumed that <code>x=*p++</code> means <code>x*=p++</code>
|
||||
but do you know why? This is not so strange as it might seem if you look at <a href="https://www.bell-labs.com/usr/dmr/www/chist.html">C’s
|
||||
history</a>. Example code where
|
||||
this occurs is in John Lions’ Commentary on the Sixth Edition UNIX Operating System.</p>
|
||||
<h2 id="authors-remarks">Author’s remarks:</h2>
|
||||
<p>This is a blackjack program. It does splits, doubling down,
|
||||
insurance, etc.</p>
|
||||
<p>As best I can figure, it should be ANSI-compliant, as well as
|
||||
portable to BSD & SysV (as well as the irritating compiler I was
|
||||
using which assumes <code>x=*p++</code> means <code>x*=p++</code>!). It
|
||||
is reasonably robust in its error handling—it won’t let you split,
|
||||
double, etc. unless you actually have the cash, etc. To terminate the
|
||||
program, hit <code>EOF</code> or type <code>0</code> or a negative
|
||||
number for you wager.</p>
|
||||
<p>The way it deals with splits is particularly cool (IMHO). You can
|
||||
split many times, and it will show all hands as they are played.</p>
|
||||
<h2 id="copyright-and-cc-by-sa-4.0-license">Copyright and CC BY-SA 4.0
|
||||
License:</h2>
|
||||
<p>This file is Copyright (c) 2023 by Landon Curt Noll. All Rights
|
||||
Reserved. You are free to share and adapt this file under the terms of
|
||||
this license:</p>
|
||||
<p>This is a blackjack program. It does splits, doubling down, insurance, etc.</p>
|
||||
<p>As best I can figure, it should be ANSI-compliant, as well as portable to BSD &
|
||||
SysV (as well as the irritating compiler I was using which assumes <code>x=*p++</code>
|
||||
means <code>x*=p++</code>!). It is reasonably robust in its error handling—it won’t let
|
||||
you split, double, etc. unless you actually have the cash, etc. To terminate
|
||||
the program, hit <code>EOF</code> or type <code>0</code> or a negative number for you wager.</p>
|
||||
<p>The way it deals with splits is particularly cool (IMHO). You can split many
|
||||
times, and it will show all hands as they are played.</p>
|
||||
<h2 id="copyright-and-cc-by-sa-4.0-license">Copyright and CC BY-SA 4.0 License:</h2>
|
||||
<p>This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
You are free to share and adapt this file under the terms of this license:</p>
|
||||
<pre><code>Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</code></pre>
|
||||
<p>For more information, see:
|
||||
https://creativecommons.org/licenses/by-sa/4.0/</p>
|
||||
<p>For more information, see: https://creativecommons.org/licenses/by-sa/4.0/</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-index-inventory.sh via bin/md2html.sh -->
|
||||
|
||||
<!-- START: this line starts content generated by: bin/output-index-inventory.sh -->
|
||||
|
||||
<h1 id="inventory-for-1990cmills"><a name="inventory"></a>Inventory for
|
||||
1990/cmills</h1>
|
||||
<h1 id="inventory-for-1990cmills"><a name="inventory"></a>Inventory for 1990/cmills</h1>
|
||||
<p><a href="#top">Jump to top</a></p>
|
||||
<h2 id="primary-files">Primary files</h2>
|
||||
<ul>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1990/cmills/cmills.c">cmills.c</a>
|
||||
- entry source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1990/cmills/Makefile">Makefile</a>
|
||||
- entry Makefile</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1990/cmills/cmills.orig.c">cmills.orig.c</a>
|
||||
- original source</li>
|
||||
<li><a href="1990_cmills.tar.bz2">1990_cmills.tar.bz2</a> - download
|
||||
entry source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1990/cmills/cmills.c">cmills.c</a> - entry source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1990/cmills/Makefile">Makefile</a> - entry Makefile</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1990/cmills/cmills.orig.c">cmills.orig.c</a> - original source</li>
|
||||
<li><a href="1990_cmills.tar.bz2">1990_cmills.tar.bz2</a> - download entry source</li>
|
||||
</ul>
|
||||
<h2 id="secondary-files">Secondary files</h2>
|
||||
<ul>
|
||||
<li><a href="index.html">index.html</a> - entry home page</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1990/cmills/.entry.json">.entry.json</a>
|
||||
- description of entry in JSON</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1990/cmills/.gitignore">.gitignore</a>
|
||||
- list of files that should not be committed under git</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1990/cmills/.entry.json">.entry.json</a> - description of entry in JSON</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1990/cmills/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
|
||||
<li><a href=".path">.path</a> - directory path from top directory</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1990/cmills/README.md">README.md</a>
|
||||
- markdown source for index.html</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1990/cmills/README.md">README.md</a> - markdown source for index.html</li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
|
||||
|
||||
Reference in new issue
Block a user