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
+51
-81
@@ -129,9 +129,9 @@
|
||||
|
||||
<h2 id="author"><a name="author"></a>Author:</h2>
|
||||
<ul>
|
||||
<li>Name: <a href="../../authors.html#Derek_Anderson">Derek
|
||||
Anderson</a><br> Location: <a href="../../location.html#US">US</a> -
|
||||
<em>United States of America</em> (<em>United States</em>) <br><br></li>
|
||||
<li>Name: <a href="../../authors.html#Derek_Anderson">Derek Anderson</a><br>
|
||||
Location: <a href="../../location.html#US">US</a> - <em>United States of America</em> (<em>United States</em>)
|
||||
<br><br></li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
|
||||
@@ -141,18 +141,16 @@ Anderson</a><br> Location: <a href="../../location.html#US">US</a> -
|
||||
|
||||
<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></span></code></pre></div>
|
||||
<p>There is an alternate version of this entry. See <a
|
||||
href="#alternate-code">Alternate code</a> below for more details.</p>
|
||||
<p>There is an alternate version of this entry. See <a href="#alternate-code">Alternate
|
||||
code</a> below for more details.</p>
|
||||
<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">./prog</span> <span class="op"><</span> textfile</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>
|
||||
<h2 id="alternate-code">Alternate code:</h2>
|
||||
<p>Compare <a href="prog.c">prog.c</a> and <a
|
||||
href="prog.alt.c">prog.alt.c</a> and find out why we had to modify the
|
||||
entry, and what confused the author (see the author’s remarks). No, it
|
||||
was not the shape of the Roman V that we, or the compiler, didn’t
|
||||
like.</p>
|
||||
<p>Compare <a href="prog.c">prog.c</a> and <a href="prog.alt.c">prog.alt.c</a> and find out why we had to
|
||||
modify the entry, and what confused the author (see the author’s remarks). No,
|
||||
it was not the shape of the Roman V that we, or the compiler, didn’t like.</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>
|
||||
<h3 id="alternate-use">Alternate use:</h3>
|
||||
@@ -160,98 +158,70 @@ like.</p>
|
||||
<h3 id="alternate-try">Alternate try:</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">./try.alt.sh</span></span></code></pre></div>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
<p>With this entry, you won’t need to turn your monitor <a
|
||||
href="http://en.wikipedia.org/wiki/River_%28typography%29">upside
|
||||
<p>With this entry, you won’t need to turn your monitor <a href="http://en.wikipedia.org/wiki/River_%28typography%29">upside
|
||||
down</a>!</p>
|
||||
<h2 id="authors-remarks">Author’s remarks:</h2>
|
||||
<h3 id="compiling-the-program">Compiling the program:</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">cc</span> <span class="at">-Wall</span> <span class="at">-Wextra</span> <span class="at">-Wpedantic</span> <span class="at">-O3</span> <span class="at">-std</span><span class="op">=</span>c11 prog.c <span class="at">-o</span> prog</span></code></pre></div>
|
||||
<p>Also works with a standard of C99, but C90/C89 will not compile due
|
||||
to <code>for</code> loop initial declarations, along with additional
|
||||
warnings about variable length arrays and lack of a <code>return</code>
|
||||
statement.</p>
|
||||
<p>Also works with a standard of C99, but C90/C89 will not compile due to
|
||||
<code>for</code> loop initial declarations, along with additional warnings about
|
||||
variable length arrays and lack of a <code>return</code> statement.</p>
|
||||
<h3 id="additional-info">Additional info:</h3>
|
||||
<p>This small program, when given text on <code>stdin</code>, will
|
||||
produce a pattern of squiggly lines. This pattern is deterministic, and
|
||||
it shouldn’t be too difficult to determine from whence they come. There
|
||||
is even a comment that describes the highlighted phenomena in the
|
||||
source, for those that require a small nudge. With denser text blocks,
|
||||
such as an essay or similar prose, the output can be rather pretty, in
|
||||
an chaotic emergence sort of way. Try using this file, or the source
|
||||
file as inputs.</p>
|
||||
<p>This small program, when given text on <code>stdin</code>, will produce a pattern of
|
||||
squiggly lines. This pattern is deterministic, and it shouldn’t be too
|
||||
difficult to determine from whence they come. There is even a comment
|
||||
that describes the highlighted phenomena in the source, for those that
|
||||
require a small nudge. With denser text blocks, such as an essay or
|
||||
similar prose, the output can be rather pretty, in an chaotic emergence
|
||||
sort of way. Try using this file, or the source file as inputs.</p>
|
||||
<p>In its current form, this program can handle lines of length 255; to
|
||||
adjust this limit, change the variable <code>a</code> at the top of the
|
||||
source. Other adjustments, such as the exact printed characters, are
|
||||
rather easy, once sufficient reverse engineering has occurred.
|
||||
Improvements such as proper handling of tabs are left as an exercise to
|
||||
the reader.</p>
|
||||
<p>In developing this program, the author found a potentially
|
||||
interesting bug. If the expression <code>(j=k,j)</code> (near the middle
|
||||
of the source) is changed to <code>(j=k,k)</code>, the program produces
|
||||
different output. The author used gcc 5.4.0, compiled for
|
||||
<code>x86_64-linux-gnu</code>. Enabling or disabling optimization
|
||||
produces the same results. The author is not sure who is the culprit,
|
||||
but instead shrugged and moved on with life. Of course, YMMV with your
|
||||
own environment.</p>
|
||||
<p>The structure of this program, as you may have deduced, is two
|
||||
<code>for</code> loops, one nested in the other. There are also a bunch
|
||||
of direct variable assignments, such as <code>j=k</code>. There is some
|
||||
filler fluff, such as <code>0-0+0</code>, but all that sort should be
|
||||
rather easy to spot. It was mostly added for the purpose of making
|
||||
certain things line up right, and only secondarily to obfuscate.</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>
|
||||
adjust this limit, change the variable <code>a</code> at the top of the source.
|
||||
Other adjustments, such as the exact printed characters, are rather
|
||||
easy, once sufficient reverse engineering has occurred. Improvements
|
||||
such as proper handling of tabs are left as an exercise to the reader.</p>
|
||||
<p>In developing this program, the author found a potentially interesting
|
||||
bug. If the expression <code>(j=k,j)</code> (near the middle of the source) is
|
||||
changed to <code>(j=k,k)</code>, the program produces different output. The author
|
||||
used gcc 5.4.0, compiled for <code>x86_64-linux-gnu</code>. Enabling or
|
||||
disabling optimization produces the same results. The author is not
|
||||
sure who is the culprit, but instead shrugged and moved on with life.
|
||||
Of course, YMMV with your own environment.</p>
|
||||
<p>The structure of this program, as you may have deduced, is two <code>for</code>
|
||||
loops, one nested in the other. There are also a bunch of direct
|
||||
variable assignments, such as <code>j=k</code>. There is some filler fluff, such as
|
||||
<code>0-0+0</code>, but all that sort should be rather easy to spot. It was mostly
|
||||
added for the purpose of making certain things line up right, and only
|
||||
secondarily to obfuscate.</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-2018anderson"><a name="inventory"></a>Inventory
|
||||
for 2018/anderson</h1>
|
||||
<h1 id="inventory-for-2018anderson"><a name="inventory"></a>Inventory for 2018/anderson</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/2018/anderson/prog.c">prog.c</a>
|
||||
- entry source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/anderson/Makefile">Makefile</a>
|
||||
- entry Makefile</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/anderson/prog.alt.c">prog.alt.c</a>
|
||||
- alternative source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/anderson/prog.orig.c">prog.orig.c</a>
|
||||
- original source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/anderson/try.alt.sh">try.alt.sh</a>
|
||||
- how to run alternate code</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/anderson/try.sh">try.sh</a>
|
||||
- how to run</li>
|
||||
<li><a href="2018_anderson.tar.bz2">2018_anderson.tar.bz2</a> - download
|
||||
entry source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/anderson/prog.c">prog.c</a> - entry source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/anderson/Makefile">Makefile</a> - entry Makefile</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/anderson/prog.alt.c">prog.alt.c</a> - alternative source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/anderson/prog.orig.c">prog.orig.c</a> - original source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/anderson/try.alt.sh">try.alt.sh</a> - how to run alternate code</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/anderson/try.sh">try.sh</a> - how to run</li>
|
||||
<li><a href="2018_anderson.tar.bz2">2018_anderson.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/2018/anderson/.entry.json">.entry.json</a>
|
||||
- description of entry in JSON</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/anderson/.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/2018/anderson/.entry.json">.entry.json</a> - description of entry in JSON</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/anderson/.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/2018/anderson/README.md">README.md</a>
|
||||
- markdown source for index.html</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/anderson/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