Fix broken links in 2001/westley

This commit is contained in:
Cody Boone Ferguson committed 2024-04-30 10:07:24 -07:00
1 parent 1c471d8ecd
commit 6ce71468ab
2 files changed
+12 -10

No files matched your search

+6 -5
View File
@@ -419,12 +419,13 @@ code</a> below.</p>
<h2 id="sorted-code">Sorted code:</h2>
<p>The author stated that one can sort (ignoring leading blanks i.e. <code>sort -b</code>) the
code by line and it will always sort the order of the input.</p>
<p>This is compiled by default; use <code>westley.sort</code> as you would <code>westley</code> above.</p>
<p>This is generated and compiled by default; use <code>westley.sort</code> as you would
<code>westley</code> above.</p>
<h2 id="punch-card-code">Punch card code:</h2>
<p>The author also stated that if you just sort the code you’ll get the with
<code>sort</code>) version that just prints out the punch card. The
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2001/westley/westley.punch.c">westley.punch.c</a> code is specifically so that Westley can punch
everyone in the face! :-) This is also compiled by default.</p>
<p>The author also stated that if you just sort the code (<code>sort westley.c</code>) you’ll
get a version that just prints out the punch card. The <code>westley.punch.c</code>
(generated by <code>make</code> via <code>sort westley.c</code>) code is specifically so that Westley
can punch everyone in the face! :-) This is also compiled by default.</p>
<h3 id="punch-card-try">Punch card try:</h3>
<pre><code> echo &#39;Brian Westley does it again!&#39; | ./westley.punch 2&gt;/dev/null</code></pre>
<h2 id="alternate-code">Alternate code:</h2>