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
+48
-76
@@ -129,9 +129,9 @@
|
||||
|
||||
<h2 id="author"><a name="author"></a>Author:</h2>
|
||||
<ul>
|
||||
<li>Name: <a href="../../authors.html#Andrew_Shapiro">Andrew T.
|
||||
Shapiro</a><br> Location: <a href="../../location.html#ZZ">ZZ</a> -
|
||||
<em>Unknown location</em> <br><br></li>
|
||||
<li>Name: <a href="../../authors.html#Andrew_Shapiro">Andrew T. Shapiro</a><br>
|
||||
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
|
||||
<br><br></li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
|
||||
@@ -145,12 +145,10 @@ Shapiro</a><br> Location: <a href="../../location.html#ZZ">ZZ</a> -
|
||||
<p>The current status of this entry is:</p>
|
||||
<pre><code>STATUS: missing file - please provide it
|
||||
STATUS: INABIAF - please **DO NOT** fix</code></pre>
|
||||
<p>For more detailed information see <a
|
||||
href="../../bugs.html#1994_shapiro">1994 shapiro bugs</a>.</p>
|
||||
<p>For more detailed information see <a href="../../bugs.html#1994_shapiro">1994 shapiro 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">./shapiro</span> <span class="kw">&</span></span></code></pre></div>
|
||||
<p>Now find the clock in the same terminal window (or console if at the
|
||||
console).</p>
|
||||
<p>Now find the clock in the same terminal window (or console if at the console).</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">./shapiro</span></span>
|
||||
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a><span class="ex">^Z</span></span>
|
||||
@@ -160,99 +158,73 @@ console).</p>
|
||||
<span id="cb4-6"><a href="#cb4-6" aria-hidden="true" tabindex="-1"></a><span class="ex">^C</span></span>
|
||||
<span id="cb4-7"><a href="#cb4-7" aria-hidden="true" tabindex="-1"></a></span>
|
||||
<span id="cb4-8"><a href="#cb4-8" aria-hidden="true" tabindex="-1"></a><span class="ex">./shapiro_t1</span></span></code></pre></div>
|
||||
<p>Notice what you see in the output of <code>ps</code>! Observe too
|
||||
what happens after you bring it back to the foreground.</p>
|
||||
<p>Notice what you see in the output of <code>ps</code>! Observe too what happens after you
|
||||
bring it back to the foreground.</p>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
<p>This entry has many different levels of obfuscation, and yet the
|
||||
source file is self documenting. :-)</p>
|
||||
<p>From time to time, run <code>ps(1)</code> and look at the new
|
||||
processes.</p>
|
||||
<p>See <a href="shapiro.html">shapiro.html</a> for more information in
|
||||
the internals of this program. The file <a
|
||||
href="shapiro.alt.c">shapiro.alt.c</a> contains a non-obfuscated version
|
||||
of this program. Note that this alt file is currently missing. See <a
|
||||
href="../../bugs.html#1994_shapiro">1994 shapiro bugs</a> for
|
||||
details.</p>
|
||||
<p>From time to time, run <code>ps(1)</code> and look at the new processes.</p>
|
||||
<p>See <a href="shapiro.html">shapiro.html</a> for more information in the internals of this program.
|
||||
The file <a href="shapiro.alt.c">shapiro.alt.c</a> contains a non-obfuscated version of
|
||||
this program. Note that this alt file is currently missing. See
|
||||
<a href="../../bugs.html#1994_shapiro">1994 shapiro bugs</a> for details.</p>
|
||||
<h2 id="authors-remarks">Author’s remarks:</h2>
|
||||
<p>The basic theme (pun) of this program is:</p>
|
||||
<blockquote>
|
||||
<p>“This time (everything) is not where it should be.” ~~~~</p>
|
||||
<p>“This time (everything) is not where it should be.”
|
||||
~~~~</p>
|
||||
</blockquote>
|
||||
<p>My entry (<a href="shapiro.c">shapiro.c</a>) is mostly comments,
|
||||
formatted in the shape of a clock. If you strip out the comments and
|
||||
look at the code you will quickly realize that the comments were the
|
||||
important part and that the code does very little (see pun above). It
|
||||
writes (to <code>stdout</code>) another C program (<a
|
||||
href="shapiro_t2.c">shapiro_t2.c</a>). This is the first level of
|
||||
<p>My entry (<a href="shapiro.c">shapiro.c</a>) is mostly comments, formatted in the shape of a
|
||||
clock. If you strip out the comments and look at the code you will
|
||||
quickly realize that the comments were the important part and that
|
||||
the code does very little (see pun above). It writes (to <code>stdout</code>)
|
||||
another C program (<a href="shapiro_t2.c">shapiro_t2.c</a>). This is the first level of
|
||||
obfuscation.</p>
|
||||
<p>The second program (<a href="shapiro_t2.c">shapiro_t2.c</a> (use
|
||||
<code>make everything</code> first) prints a clock in the upper right
|
||||
hand corner of your VTxxx/ANSI display.</p>
|
||||
<p>Most of the surface obfuscation in the second program (<a
|
||||
href="shapiro_t2.c">shapiro_t2.c</a>) was an attempt to make it as small
|
||||
as possible. You should be able to see around this with
|
||||
<code>cb(1)</code> and some more intelligent variable names. Once you
|
||||
get past this you will realize that the third level of obfuscation is a
|
||||
six member client/server hierarchy. (See the <a
|
||||
href="shapiro.html">shapiro.html</a> web page for a detailed description
|
||||
of the algorithm.)</p>
|
||||
<p><code>lint</code> complains about: precedence confusion,
|
||||
<code>K</code> may be used before set, <code>main()</code> returns
|
||||
random value to invocation environment, value type used inconsistently,
|
||||
value type declared inconsistently, function argument (number) used
|
||||
inconsistently, function returns value which is always ignored, function
|
||||
returns value which is sometimes ignored. All of which are harmless
|
||||
(famous last words).</p>
|
||||
<p>This may or may not work on non ASCII systems (I could not find one
|
||||
to test it on.)</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>The second program (<a href="shapiro_t2.c">shapiro_t2.c</a> (use <code>make everything</code> first)
|
||||
prints a clock in the upper right hand corner of your VTxxx/ANSI display.</p>
|
||||
<p>Most of the surface obfuscation in the second program
|
||||
(<a href="shapiro_t2.c">shapiro_t2.c</a>) was an attempt to make it as small as possible.
|
||||
You should be able to see around this with <code>cb(1)</code> and some more intelligent
|
||||
variable names. Once you get past this you will realize that the third level of
|
||||
obfuscation is a six member client/server hierarchy. (See the
|
||||
<a href="shapiro.html">shapiro.html</a> web page for a detailed description of the algorithm.)</p>
|
||||
<p><code>lint</code> complains about: precedence confusion, <code>K</code> may be used before set,
|
||||
<code>main()</code> returns random value to invocation environment, value type used
|
||||
inconsistently, value type declared inconsistently, function argument
|
||||
(number) used inconsistently, function returns value which is always
|
||||
ignored, function returns value which is sometimes ignored.
|
||||
All of which are harmless (famous last words).</p>
|
||||
<p>This may or may not work on non ASCII systems (I could not find one to
|
||||
test it on.)</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-1994shapiro"><a name="inventory"></a>Inventory for
|
||||
1994/shapiro</h1>
|
||||
<h1 id="inventory-for-1994shapiro"><a name="inventory"></a>Inventory for 1994/shapiro</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/1994/shapiro/shapiro.c">shapiro.c</a>
|
||||
- entry source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1994/shapiro/Makefile">Makefile</a>
|
||||
- entry Makefile</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1994/shapiro/shapiro.orig.c">shapiro.orig.c</a>
|
||||
- original source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1994/shapiro/shapiro.c">shapiro.c</a> - entry source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1994/shapiro/Makefile">Makefile</a> - entry Makefile</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1994/shapiro/shapiro.orig.c">shapiro.orig.c</a> - original source</li>
|
||||
<li><a href="shapiro.html">shapiro.html</a> - author hints</li>
|
||||
<li><a href="1994_shapiro.tar.bz2">1994_shapiro.tar.bz2</a> - download
|
||||
entry source</li>
|
||||
<li><a href="1994_shapiro.tar.bz2">1994_shapiro.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/1994/shapiro/.entry.json">.entry.json</a>
|
||||
- description of entry in JSON</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1994/shapiro/.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/1994/shapiro/.entry.json">.entry.json</a> - description of entry in JSON</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1994/shapiro/.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/1994/shapiro/README.md">README.md</a>
|
||||
- markdown source for index.html</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1994/shapiro/shapiro.md">shapiro.md</a>
|
||||
- markdown source for shapiro.html</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1994/shapiro/README.md">README.md</a> - markdown source for index.html</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1994/shapiro/shapiro.md">shapiro.md</a> - markdown source for shapiro.html</li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
|
||||
|
||||
Reference in new issue
Block a user