fix problematic HTML caused by certain trailing backslashes
In cases that are **outside of a markdown code block**, a markdown line with ending in a tailing "\" can generate problematic HTML. We certain trailing backslashes outside of a markdown code block with "<br>" HTML elements, or in some cases eliminated the need for a trailing backslash. In a few cases some unnecessary trailing backslashes inside of a markdown code block were removed. The following markdown files were changed in this commit: ``` 1990/dds/README.md 1990/jaw/README.md 1991/ant/README.md 1991/rince/README.md 1991/westley/README.md 1992/vern/README.md 1992/westley/README.md 1998/schweikh1/README.md 2004/anonymous/README.md 2005/sykes/README.md 2006/toledo2/README.md 2011/toledo/README.md 2012/endoh2/README.md 2012/tromp/README.md 2013/robison/README.md 2015/hou/README.md 2015/howe/README.md 2015/schweikhardt/README.md 2018/burton1/README.md 2018/burton2/README.md 2018/ferguson/README.md 2018/vokes/README.md 2020/ferguson1/README.md ``` Performed `make www` to test these changes.
This commit is contained in:
1 parent
1785da1728
commit
4c3649a3c1
47 files changed
+481
-502
No files matched your search
+35
-35
@@ -36,45 +36,45 @@ What is this program weighing and how much does it weigh?
|
||||
|
||||
### tac - tokenize and count C and derivative languages:
|
||||
|
||||
`tac` computes C program size\
|
||||
(obfuscated / otherwise)\
|
||||
by splitting code as tokens small,\
|
||||
ignoring space, then counting all.\
|
||||
`tac` computes C program size<br>
|
||||
(obfuscated / otherwise)<br>
|
||||
by splitting code as tokens small,<br>
|
||||
ignoring space, then counting all.<br>
|
||||
|
||||
It tries quite hard to act the same\
|
||||
as counting tool of I-OCCC fame.\
|
||||
Some bugs were fixed, it's faster too,\
|
||||
and does more things, just add some glue!\
|
||||
It tries quite hard to act the same<br>
|
||||
as counting tool of I-OCCC fame.<br>
|
||||
Some bugs were fixed, it's faster too,<br>
|
||||
and does more things, just add some glue!<br>
|
||||
|
||||
It does far more than print the size:\
|
||||
the token part's a better prize!\
|
||||
With each upon on a single line,\
|
||||
how many things can you design?\
|
||||
It does far more than print the size:<br>
|
||||
the token part's a better prize!<br>
|
||||
With each upon on a single line,<br>
|
||||
how many things can you design?<br>
|
||||
|
||||
Included is a keyword sorter,\
|
||||
de-obfuscator, freq reporter.\
|
||||
With code produced as little parts,\
|
||||
just add your own creative arts.\
|
||||
Included is a keyword sorter,<br>
|
||||
de-obfuscator, freq reporter.<br>
|
||||
With code produced as little parts,<br>
|
||||
just add your own creative arts.<br>
|
||||
|
||||
But first you have to figure out\
|
||||
the braces part, without a doubt!\
|
||||
And then the code - it isn't easy:\
|
||||
for as else? That's rather cheesy!\
|
||||
But first you have to figure out<br>
|
||||
the braces part, without a doubt!<br>
|
||||
And then the code - it isn't easy:<br>
|
||||
for as else? That's rather cheesy!<br>
|
||||
|
||||
The rest of it is standard fare:\
|
||||
expressions strange, the globals bare,\
|
||||
confusing symbols one and oh,\
|
||||
and precedence you have to know.\
|
||||
The rest of it is standard fare:<br>
|
||||
expressions strange, the globals bare,<br>
|
||||
confusing symbols one and oh,<br>
|
||||
and precedence you have to know.<br>
|
||||
|
||||
The keyword list was made external,\
|
||||
because of standards change eternal.\
|
||||
Thus other languages can now,\
|
||||
be counted just like C, somehow!\
|
||||
The keyword list was made external,<br>
|
||||
because of standards change eternal.<br>
|
||||
Thus other languages can now,<br>
|
||||
be counted just like C, somehow!<br>
|
||||
|
||||
I hope you find this code obscure\
|
||||
enough to win, and thus procure\
|
||||
a public place for all to see\
|
||||
how badly I can butcher C!\
|
||||
I hope you find this code obscure<br>
|
||||
enough to win, and thus procure<br>
|
||||
a public place for all to see<br>
|
||||
how badly I can butcher C!<br>
|
||||
|
||||
|
||||
### Said another way....
|
||||
@@ -270,9 +270,9 @@ language_. It really is this easy with `tac`:
|
||||
|
||||
* I assume you noticed the [braces][2]?
|
||||
|
||||
_Every brace is sacred,\
|
||||
Every brace is great.\
|
||||
If a brace is wasted,\
|
||||
_Every brace is sacred,<br>
|
||||
Every brace is great.<br>
|
||||
If a brace is wasted,<br>
|
||||
Clang gets quite irate_.
|
||||
|
||||
* Keywords follow the 2010s top five, without the `if`, for interesting flow control.
|
||||
|
||||
+35
-43
@@ -164,46 +164,38 @@ Location: <a href="../../location.html#US">US</a> - <em>United States of America
|
||||
What is this program weighing and how much does it weigh?</p>
|
||||
<h2 id="authors-remarks">Author’s remarks:</h2>
|
||||
<h3 id="tac---tokenize-and-count-c-and-derivative-languages">tac - tokenize and count C and derivative languages:</h3>
|
||||
<p><code>tac</code> computes C program size<br />
|
||||
(obfuscated / otherwise)<br />
|
||||
by splitting code as tokens small,<br />
|
||||
ignoring space, then counting all.<br />
|
||||
</p>
|
||||
<p>It tries quite hard to act the same<br />
|
||||
as counting tool of I-OCCC fame.<br />
|
||||
Some bugs were fixed, it’s faster too,<br />
|
||||
and does more things, just add some glue!<br />
|
||||
</p>
|
||||
<p>It does far more than print the size:<br />
|
||||
the token part’s a better prize!<br />
|
||||
With each upon on a single line,<br />
|
||||
how many things can you design?<br />
|
||||
</p>
|
||||
<p>Included is a keyword sorter,<br />
|
||||
de-obfuscator, freq reporter.<br />
|
||||
With code produced as little parts,<br />
|
||||
just add your own creative arts.<br />
|
||||
</p>
|
||||
<p>But first you have to figure out<br />
|
||||
the braces part, without a doubt!<br />
|
||||
And then the code - it isn’t easy:<br />
|
||||
for as else? That’s rather cheesy!<br />
|
||||
</p>
|
||||
<p>The rest of it is standard fare:<br />
|
||||
expressions strange, the globals bare,<br />
|
||||
confusing symbols one and oh,<br />
|
||||
and precedence you have to know.<br />
|
||||
</p>
|
||||
<p>The keyword list was made external,<br />
|
||||
because of standards change eternal.<br />
|
||||
Thus other languages can now,<br />
|
||||
be counted just like C, somehow!<br />
|
||||
</p>
|
||||
<p>I hope you find this code obscure<br />
|
||||
enough to win, and thus procure<br />
|
||||
a public place for all to see<br />
|
||||
how badly I can butcher C!<br />
|
||||
</p>
|
||||
<p><code>tac</code> computes C program size<br>
|
||||
(obfuscated / otherwise)<br>
|
||||
by splitting code as tokens small,<br>
|
||||
ignoring space, then counting all.<br></p>
|
||||
<p>It tries quite hard to act the same<br>
|
||||
as counting tool of I-OCCC fame.<br>
|
||||
Some bugs were fixed, it’s faster too,<br>
|
||||
and does more things, just add some glue!<br></p>
|
||||
<p>It does far more than print the size:<br>
|
||||
the token part’s a better prize!<br>
|
||||
With each upon on a single line,<br>
|
||||
how many things can you design?<br></p>
|
||||
<p>Included is a keyword sorter,<br>
|
||||
de-obfuscator, freq reporter.<br>
|
||||
With code produced as little parts,<br>
|
||||
just add your own creative arts.<br></p>
|
||||
<p>But first you have to figure out<br>
|
||||
the braces part, without a doubt!<br>
|
||||
And then the code - it isn’t easy:<br>
|
||||
for as else? That’s rather cheesy!<br></p>
|
||||
<p>The rest of it is standard fare:<br>
|
||||
expressions strange, the globals bare,<br>
|
||||
confusing symbols one and oh,<br>
|
||||
and precedence you have to know.<br></p>
|
||||
<p>The keyword list was made external,<br>
|
||||
because of standards change eternal.<br>
|
||||
Thus other languages can now,<br>
|
||||
be counted just like C, somehow!<br></p>
|
||||
<p>I hope you find this code obscure<br>
|
||||
enough to win, and thus procure<br>
|
||||
a public place for all to see<br>
|
||||
how badly I can butcher C!<br></p>
|
||||
<h3 id="said-another-way.">Said another way….</h3>
|
||||
<p><code>tac</code> is the inverse of <code>cat</code>(1): it un-concatenates its input into C tokens,
|
||||
writing the token stream to <code>stdout</code>. There are options to suppress the token
|
||||
@@ -353,9 +345,9 @@ language</em>. It really is this easy with <code>tac</code>:</p>
|
||||
<h3 id="on-the-question-of-obfuscation">On the question of obfuscation:</h3>
|
||||
<ul>
|
||||
<li><p>I assume you noticed the <a href="https://www.youtube.com/watch?v=fUspLVStPbk&start=53" title="Meaning of Life">braces</a>?</p>
|
||||
<p><em>Every brace is sacred,<br />
|
||||
Every brace is great.<br />
|
||||
If a brace is wasted,<br />
|
||||
<p><em>Every brace is sacred,<br>
|
||||
Every brace is great.<br>
|
||||
If a brace is wasted,<br>
|
||||
Clang gets quite irate</em>.</p></li>
|
||||
<li><p>Keywords follow the 2010s top five, without the <code>if</code>, for interesting flow control.</p></li>
|
||||
<li><p>Sometimes a <code>for</code> can be an <code>else</code> - <a href="https://www.youtube.com/watch?v=OHVjs4aobqs" title="Inconceivable">inconceivable</a>!</p></li>
|
||||
|
||||
Reference in new issue
Block a user