Merge pull request #2455 from xexyl/html-85

Fix 1985/{august,sicherman}/index.html
This commit is contained in:
Landon Curt Noll authored and GitHub committed 2024-06-20 10:19:12 -07:00
commit ea1d9d4b23
4 files changed
+6 -12

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@
``` ```
If you have the `primes(6)` tool (sometimes part of If you have the `primes(6)` tool (sometimes part of
([BSD](https://github.com/vattam/BSDGames) Games) you can see [BSD Games](https://github.com/vattam/BSDGames)) you can see
what of the output in the first `N` (say `15` or `25`) lines are primes: what of the output in the first `N` (say `15` or `25`) lines are primes:
``` <!---sh--> ``` <!---sh-->
+1 -1
View File
@@ -408,7 +408,7 @@ Location: <a href="../../location.html#SE">SE</a> - <em>Kingdom of Sweden</em> (
<h2 id="try">Try:</h2> <h2 id="try">Try:</h2>
<pre><code> ./try.sh</code></pre> <pre><code> ./try.sh</code></pre>
<p>If you have the <code>primes(6)</code> tool (sometimes part of <p>If you have the <code>primes(6)</code> tool (sometimes part of
(<a href="https://github.com/vattam/BSDGames">BSD</a> Games) you can see <a href="https://github.com/vattam/BSDGames">BSD Games</a>) you can see
what of the output in the first <code>N</code> (say <code>15</code> or <code>25</code>) lines are primes:</p> what of the output in the first <code>N</code> (say <code>15</code> or <code>25</code>) lines are primes:</p>
<pre><code> ./primes.sh # 15 <pre><code> ./primes.sh # 15
./primes.sh 25</code></pre> ./primes.sh 25</code></pre>
+2 -5
View File
@@ -31,10 +31,7 @@ See [Alternate code](#alternate-code) below for more details on it.
The [sicherman.alt.c](%%REPO_URL%%/1985/sicherman/sicherman.alt.c) is a slight change in the fixed version The [sicherman.alt.c](%%REPO_URL%%/1985/sicherman/sicherman.alt.c) is a slight change in the fixed version
(fixed so it does not require `-traditional-cpp`) in that it has two args to (fixed so it does not require `-traditional-cpp`) in that it has two args to
`main()` as some compilers object to certain number of args in `main()`. This `main()` as some compilers object to certain number of args in `main()`.
will be built in the case of the [sicherman.c](%%REPO_URL%%/1985/sicherman/sicherman.c) failing to compile.
In this case it'll be compiled to `sicherman` to simplify it for the larger
audience.
### Alternate build: ### Alternate build:
@@ -63,7 +60,7 @@ audience.
This program abuses the C preprocessor so much that some `cpp`s fail to strip This program abuses the C preprocessor so much that some `cpp`s fail to strip
out all of the comments on the first pass! If you were able to understand out all of the comments on the first pass! If you were able to understand
[Decot's](../../authors.html#Dave_Decot) [entry in 1984](../../1984/decot/index.html), you [Dave Decot's](../../authors.html#Dave_Decot) [entry in 1984](../../1984/decot/index.html), you
will have a head start on this one. will have a head start on this one.
Be sure to run this program through lint! If your lint works Be sure to run this program through lint! If your lint works
+2 -5
View File
@@ -417,10 +417,7 @@ See <a href="#alternate-code">Alternate code</a> below for more details on it.</
<h2 id="alternate-code">Alternate code:</h2> <h2 id="alternate-code">Alternate code:</h2>
<p>The <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1985/sicherman/sicherman.alt.c">sicherman.alt.c</a> is a slight change in the fixed version <p>The <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1985/sicherman/sicherman.alt.c">sicherman.alt.c</a> is a slight change in the fixed version
(fixed so it does not require <code>-traditional-cpp</code>) in that it has two args to (fixed so it does not require <code>-traditional-cpp</code>) in that it has two args to
<code>main()</code> as some compilers object to certain number of args in <code>main()</code>. This <code>main()</code> as some compilers object to certain number of args in <code>main()</code>.</p>
will be built in the case of the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1985/sicherman/sicherman.c">sicherman.c</a> failing to compile.
In this case it’ll be compiled to <code>sicherman</code> to simplify it for the larger
audience.</p>
<h3 id="alternate-build">Alternate build:</h3> <h3 id="alternate-build">Alternate build:</h3>
<pre><code> make alt</code></pre> <pre><code> make alt</code></pre>
<h3 id="alternate-use">Alternate use:</h3> <h3 id="alternate-use">Alternate use:</h3>
@@ -430,7 +427,7 @@ audience.</p>
<h2 id="judges-remarks">Judges’ remarks:</h2> <h2 id="judges-remarks">Judges’ remarks:</h2>
<p>This program abuses the C preprocessor so much that some <code>cpp</code>s fail to strip <p>This program abuses the C preprocessor so much that some <code>cpp</code>s fail to strip
out all of the comments on the first pass! If you were able to understand out all of the comments on the first pass! If you were able to understand
<a href="../../authors.html#Dave_Decot">Decot’s</a> <a href="../../1984/decot/index.html">entry in 1984</a>, you <a href="../../authors.html#Dave_Decot">Dave Decot’s</a> <a href="../../1984/decot/index.html">entry in 1984</a>, you
will have a head start on this one.</p> will have a head start on this one.</p>
<p>Be sure to run this program through lint! If your lint works <p>Be sure to run this program through lint! If your lint works
correctly, it should warn you that the argument ‘Manual’ isn’t used. correctly, it should warn you that the argument ‘Manual’ isn’t used.