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
+30
-53
@@ -130,8 +130,8 @@
|
||||
<h2 id="author"><a name="author"></a>Author:</h2>
|
||||
<ul>
|
||||
<li>Name: <a href="../../authors.html#John_Dalbec">John Dalbec</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>)
|
||||
<br><br></li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
|
||||
@@ -148,89 +148,66 @@ America</em> (<em>United States</em>) <br><br></li>
|
||||
<p>Why does the output end with 121?</p>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
<p>The output is mis-leading … why does it also print 2047?</p>
|
||||
<p>For a hint see <a
|
||||
href="https://web.archive.org/web/20000510191341/https://www.utm.edu/research/primes/prove2.html">https://web.archive.org/web/20000510191341/https://www.utm.edu/research/primes/prove2.html</a>.</p>
|
||||
<p>For a hint see
|
||||
<a href="https://web.archive.org/web/20000510191341/https://www.utm.edu/research/primes/prove2.html">https://web.archive.org/web/20000510191341/https://www.utm.edu/research/primes/prove2.html</a>.</p>
|
||||
<p>… and then try to understand the source! :-)</p>
|
||||
<p>We (the judges) recommend that you take the time needed to understand
|
||||
how this program works. The source is small enough to make the effort
|
||||
reasonable, and complex enough to make it interesting.</p>
|
||||
<h2 id="authors-remarks">Author’s remarks:</h2>
|
||||
<p>This program assumes that your terminal wraps lines automatically. If
|
||||
this is not the case, you may need to change the space in the “printf”
|
||||
format string to a newline character.</p>
|
||||
<p>This program assumes that your terminal wraps lines automatically.
|
||||
If this is not the case, you may need to change the space in the
|
||||
“printf” format string to a newline character.</p>
|
||||
<p>An extra feature of this program is that it allows you (in most
|
||||
cases) to estimate the stack space available to programs on your system.
|
||||
Simply allow the program to run to completion. The stack space is
|
||||
roughly proportional to the last number printed.</p>
|
||||
cases) to estimate the stack space available to programs on your
|
||||
system. Simply allow the program to run to completion. The stack
|
||||
space is roughly proportional to the last number printed.</p>
|
||||
<p>(On SunOS/cc, the proportionality constant is about 48 bytes.)</p>
|
||||
<p>On completion, the program produces a core file that may be used to
|
||||
refine this estimate. (Or you could try typing <code>limit</code> if
|
||||
you’re running <code>csh</code>.) In rare cases the stack space may
|
||||
exceed <code>24*INT_MAX</code> bytes, in which case the program will
|
||||
produce an inaccurate estimate.</p>
|
||||
refine this estimate. (Or you could try typing <code>limit</code> if you’re
|
||||
running <code>csh</code>.) In rare cases the stack space may exceed <code>24*INT_MAX</code>
|
||||
bytes, in which case the program will produce an inaccurate estimate.</p>
|
||||
<p>This program is obfuscated by:</p>
|
||||
<ol type="1">
|
||||
<li><p>The use of easily-confused variable names.</p></li>
|
||||
<li><p>Using the implicit <code>!=0</code> in conditional
|
||||
expressions.</p></li>
|
||||
<li><p>Substituting expressions such as <code>!a</code> for
|
||||
<code>0</code> where <code>a!=0</code> and <code>!a</code> for
|
||||
<code>1</code> where <code>a==0</code>.</p></li>
|
||||
<li><p>The fact that <code>main()</code> is a single expression and so
|
||||
beautifies poorly.</p></li>
|
||||
<li><p>Using the implicit <code>!=0</code> in conditional expressions.</p></li>
|
||||
<li><p>Substituting expressions such as <code>!a</code> for <code>0</code> where <code>a!=0</code> and <code>!a</code> for <code>1</code>
|
||||
where <code>a==0</code>.</p></li>
|
||||
<li><p>The fact that <code>main()</code> is a single expression and so beautifies poorly.</p></li>
|
||||
<li><p>The fact that <code>main()</code> is used:</p>
|
||||
<ul>
|
||||
<li>to compute powers in modular arithmetic.</li>
|
||||
<li>to recursively call itself in the main loop.</li>
|
||||
</ul></li>
|
||||
</ol>
|
||||
<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>
|
||||
<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-1996dalbec"><a name="inventory"></a>Inventory for
|
||||
1996/dalbec</h1>
|
||||
<h1 id="inventory-for-1996dalbec"><a name="inventory"></a>Inventory for 1996/dalbec</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/1996/dalbec/dalbec.c">dalbec.c</a>
|
||||
- entry source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1996/dalbec/Makefile">Makefile</a>
|
||||
- entry Makefile</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1996/dalbec/dalbec.orig.c">dalbec.orig.c</a>
|
||||
- original source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1996/dalbec/try.sh">try.sh</a>
|
||||
- how to run</li>
|
||||
<li><a href="1996_dalbec.tar.bz2">1996_dalbec.tar.bz2</a> - download
|
||||
entry source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1996/dalbec/dalbec.c">dalbec.c</a> - entry source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1996/dalbec/Makefile">Makefile</a> - entry Makefile</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1996/dalbec/dalbec.orig.c">dalbec.orig.c</a> - original source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1996/dalbec/try.sh">try.sh</a> - how to run</li>
|
||||
<li><a href="1996_dalbec.tar.bz2">1996_dalbec.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/1996/dalbec/.entry.json">.entry.json</a>
|
||||
- description of entry in JSON</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1996/dalbec/.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/1996/dalbec/.entry.json">.entry.json</a> - description of entry in JSON</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1996/dalbec/.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/1996/dalbec/README.md">README.md</a>
|
||||
- markdown source for index.html</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1996/dalbec/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