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
+72
-100
@@ -129,10 +129,9 @@
|
||||
|
||||
<h2 id="author"><a name="author"></a>Author:</h2>
|
||||
<ul>
|
||||
<li>Name: <a href="../../authors.html#Nathan_Sidwell">Nathan
|
||||
Sidwell</a><br> Location: <a href="../../location.html#GB">GB</a> -
|
||||
<em>United Kingdom of Great Britain and Northern Ireland</em>
|
||||
(<em>United Kingdom</em>) <br><br></li>
|
||||
<li>Name: <a href="../../authors.html#Nathan_Sidwell">Nathan Sidwell</a><br>
|
||||
Location: <a href="../../location.html#GB">GB</a> - <em>United Kingdom of Great Britain and Northern Ireland</em> (<em>United Kingdom</em>)
|
||||
<br><br></li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
|
||||
@@ -150,131 +149,104 @@ Sidwell</a><br> Location: <a href="../../location.html#GB">GB</a> -
|
||||
<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>
|
||||
<h3 id="warning">WARNING:</h3>
|
||||
<p>The judges make no claim as to the strength or security of this
|
||||
program. It is likely to be nil, or the next best thing to it. Still,
|
||||
you might consider installing it in <code>/usr/games/nathan</code>.
|
||||
:-)</p>
|
||||
<h3 id="note-from-the-judges-about-the-winning-category">Note from the
|
||||
judges about the winning category::</h3>
|
||||
<p>The ‘winning’ category is also open to question. One could say that
|
||||
it is a ‘file obfuscator’. One could also say that it unintentionally
|
||||
abused the intent of rule #7 (that programs should be freely
|
||||
re-distributable). We suspect that the author may not have intended to
|
||||
do this, but that is the way things go sometimes.</p>
|
||||
<p>BTW, ‘abuse of the rules’ entries do not violate the rules. Entries
|
||||
that violate the rules are disqualified. Abuse of the rules entries are
|
||||
ones that tend to ‘stretch’ the limits and take the contest into
|
||||
unexpected territory.</p>
|
||||
<h3 id="historical-notes-from-the-judges-about-this-entry">Historical
|
||||
notes from the judges about this entry:</h3>
|
||||
<p>The US International Traffic in Arms Regulations controls certain
|
||||
exportations going out of the United States. The U.S. Munitions List
|
||||
gives the specific categories of restricted exports. Because this entry
|
||||
at one time appeared to fall under this restricted category, the judges
|
||||
originally were not able to distribute some winning entries outside of
|
||||
the US.</p>
|
||||
<p>Nathan Sidwell stated that he was willing to distribute the winning
|
||||
source. To read HIS instructions of how to obtain his winning program
|
||||
one was able to run:</p>
|
||||
<p>The judges make no claim as to the strength or security
|
||||
of this program. It is likely to be nil, or the next
|
||||
best thing to it. Still, you might consider installing
|
||||
it in <code>/usr/games/nathan</code>. :-)</p>
|
||||
<h3 id="note-from-the-judges-about-the-winning-category">Note from the judges about the winning category::</h3>
|
||||
<p>The ‘winning’ category is also open to question. One could say
|
||||
that it is a ‘file obfuscator’. One could also say that it
|
||||
unintentionally abused the intent of rule #7 (that programs
|
||||
should be freely re-distributable). We suspect that the author
|
||||
may not have intended to do this, but that is the way things go
|
||||
sometimes.</p>
|
||||
<p>BTW, ‘abuse of the rules’ entries do not violate the rules.
|
||||
Entries that violate the rules are disqualified. Abuse of the
|
||||
rules entries are ones that tend to ‘stretch’ the limits and
|
||||
take the contest into unexpected territory.</p>
|
||||
<h3 id="historical-notes-from-the-judges-about-this-entry">Historical notes from the judges about this entry:</h3>
|
||||
<p>The US International Traffic in Arms Regulations controls certain exportations
|
||||
going out of the United States. The U.S. Munitions List gives the specific
|
||||
categories of restricted exports. Because this entry at one time appeared to
|
||||
fall under this restricted category, the judges originally were not able to
|
||||
distribute some winning entries outside of the US.</p>
|
||||
<p>Nathan Sidwell stated that he was willing to distribute the winning source. To
|
||||
read HIS instructions of how to obtain his winning program one was able to run:</p>
|
||||
<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> nathan</span>
|
||||
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a><span class="ex">./nathan</span></span></code></pre></div>
|
||||
<p>to learn how to get a copy of the code.</p>
|
||||
<p>See the 1992/nathan.c file in the <a
|
||||
href="../../archive/historic/archive-1992.tar.bz2">archive/historic/archive-1992.tar.bz2</a>
|
||||
<p>See the 1992/nathan.c file in the
|
||||
<a href="../../archive/historic/archive-1992.tar.bz2">archive/historic/archive-1992.tar.bz2</a>
|
||||
tarball if you’re interested in this file.</p>
|
||||
<h3 id="personal-note-from-chongo">Personal note from chongo:</h3>
|
||||
<p>I think the situation showed just how ridiculous US crypto
|
||||
regulations really were/are. Certain US federal officials can get away
|
||||
with shipping arms to certain nations in apparent violation of US laws,
|
||||
but I personally can’t re-distribute a program contest entry to the
|
||||
network!</p>
|
||||
<p>I think the situation showed just how ridiculous US crypto regulations really
|
||||
were/are. Certain US federal officials can get away with shipping arms to
|
||||
certain nations in apparent violation of US laws, but I personally can’t
|
||||
re-distribute a program contest entry to the network!</p>
|
||||
<h2 id="authors-remarks">Author’s remarks:</h2>
|
||||
<h3 id="program-use">Program use</h3>
|
||||
<p>This program is a hello world text encryptor/decryptor. It uses an
|
||||
enigma (I think) style encryption algorithm, where the encryption key
|
||||
character is modified by a value, determined from the previous
|
||||
character. Non-printable characters (those with ASCII values <
|
||||
<code>' '</code> or > <code>0x7e</code>) are passed unaltered, thus
|
||||
any kind of file may be successfully processed, but if the original is
|
||||
printable, the processed file will be too. The input is read from
|
||||
<code>stdin</code>, and the output presented to <code>stdout</code>. The
|
||||
key, a text string, is presented as a command argument. This is
|
||||
optional, and if omitted, the file is self-{de,en}crypted. To specify
|
||||
decryption, a <code>-</code> should be given before the key. (Actually
|
||||
encryption and decryption proper inverse operations, so you can use
|
||||
decrypt to scramble and encrypt to descramble, if you’re perverse.)</p>
|
||||
<h3 id="portability-a-little-knowledge-is-a-dangerous-thing">Portability
|
||||
(A little knowledge is a dangerous thing)</h3>
|
||||
enigma (I think) style encryption algorithm, where the encryption
|
||||
key character is modified by a value, determined from the previous
|
||||
character. Non-printable characters (those with ASCII values < <code>' '</code>
|
||||
or > <code>0x7e</code>) are passed unaltered, thus any kind of file may be
|
||||
successfully processed, but if the original is printable, the
|
||||
processed file will be too. The input is read from <code>stdin</code>, and the
|
||||
output presented to <code>stdout</code>. The key, a text string, is presented as
|
||||
a command argument. This is optional, and if omitted, the file is
|
||||
self-{de,en}crypted. To specify decryption, a <code>-</code> should be given
|
||||
before the key. (Actually encryption and decryption proper inverse
|
||||
operations, so you can use decrypt to scramble and encrypt to
|
||||
descramble, if you’re perverse.)</p>
|
||||
<h3 id="portability-a-little-knowledge-is-a-dangerous-thing">Portability (A little knowledge is a dangerous thing)</h3>
|
||||
<p>It’s written in ANSI C, and doesn’t even assume an ASCII character
|
||||
set, (it has an array of the characters to convert), so should be
|
||||
portable across many platforms. It passes
|
||||
<code>gcc -ansi -pedantic -O -Wall</code> with no warnings (You may get
|
||||
assignment in conditional warnings on other platforms though). Because
|
||||
I’ve heard that conditional jumps slow down fast processors, I’ve
|
||||
eliminated all the <code>if</code>s from the code; indeed, as its only
|
||||
one statement, it should compile to one instruction and a suitably
|
||||
designed CISC machine. To speed compilation, there is only one statement
|
||||
in the loop, so that another scoping level does not need to be
|
||||
opened.</p>
|
||||
<p>Being an encryptor/decryptor, you probably want the source code to be
|
||||
obfuscated, to hide the algorithm.</p>
|
||||
portable across many platforms. It passes <code>gcc -ansi -pedantic -O -Wall</code> with no warnings (You may get assignment in conditional
|
||||
warnings on other platforms though). Because I’ve heard that
|
||||
conditional jumps slow down fast processors, I’ve eliminated all
|
||||
the <code>if</code>s from the code; indeed, as its only one statement, it should
|
||||
compile to one instruction and a suitably designed CISC machine. To
|
||||
speed compilation, there is only one statement in the loop, so that
|
||||
another scoping level does not need to be opened.</p>
|
||||
<p>Being an encryptor/decryptor, you probably want the source code to
|
||||
be obfuscated, to hide the algorithm.</p>
|
||||
<h3 id="obfuscation">Obfuscation</h3>
|
||||
<p>In spite of the fact that it looks like a nice friendly hello world
|
||||
program, it isn’t (as documented above). (Short lines have been padded,
|
||||
as you’ll find if you look at an encrypted copy of the source.)</p>
|
||||
<p>I’ve also named some of the macros from commonly used functions, just
|
||||
to keep things muddy. Of course, all the variables are misnamed. The
|
||||
program is kept simply (one for statement), by serious overuse of
|
||||
<code>,</code> and <code>?:</code>. These are really confusing when used
|
||||
together, nested or put in argument lists (is that a comma operator, or
|
||||
argument separator?).</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>I’ve also named some of the macros from commonly used functions, just to keep
|
||||
things muddy. Of course, all the variables are misnamed. The program is kept
|
||||
simply (one for statement), by serious overuse of <code>,</code> and <code>?:</code>. These are really
|
||||
confusing when used together, nested or put in argument lists (is that a comma
|
||||
operator, or argument separator?).</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-1992nathan"><a name="inventory"></a>Inventory for
|
||||
1992/nathan</h1>
|
||||
<h1 id="inventory-for-1992nathan"><a name="inventory"></a>Inventory for 1992/nathan</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/1992/nathan/nathan.c">nathan.c</a>
|
||||
- entry source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/nathan/Makefile">Makefile</a>
|
||||
- entry Makefile</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/nathan/nathan.orig.c">nathan.orig.c</a>
|
||||
- original source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/nathan/try.sh">try.sh</a>
|
||||
- how to run</li>
|
||||
<li><a href="1992_nathan.tar.bz2">1992_nathan.tar.bz2</a> - download
|
||||
entry source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/nathan/nathan.c">nathan.c</a> - entry source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/nathan/Makefile">Makefile</a> - entry Makefile</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/nathan/nathan.orig.c">nathan.orig.c</a> - original source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/nathan/try.sh">try.sh</a> - how to run</li>
|
||||
<li><a href="1992_nathan.tar.bz2">1992_nathan.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/1992/nathan/.entry.json">.entry.json</a>
|
||||
- description of entry in JSON</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/nathan/.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/1992/nathan/.entry.json">.entry.json</a> - description of entry in JSON</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/nathan/.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/1992/nathan/README.md">README.md</a>
|
||||
- markdown source for index.html</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/nathan/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