improve how markdown code language is commented

We added a space between the markdown triple code mark
and language that was enclosed in HTML comments.

So a line of the form:

````
```<!---c--->
````

became:

````
``` <!---c--->
````

This was done to **help** some code see that the HTML comment
string was not a markdown code specifier.   Not all code
understands this after this changed.  For example, `pandoc(1)`
still forms HTML classes of the form "&lt;!---c--&gt;"
when it encounters the above mentioned change.

We also fixed a problem with `2019/dogon/README.md` regarding
a markdown code block.

We also fixed a problem with `2020/yang/README.md` regarding
a markdown code block.
This commit is contained in:
Landon Curt Noll committed 2024-04-12 11:45:50 -07:00
1 parent c549f6585e
commit 3ddbac9e6b
357 files changed
+2432 -2399

No files matched your search

+3 -3
View File
@@ -1,20 +1,20 @@
## To build:
```<!---sh-->
``` <!---sh-->
make
```
## To use:
```<!---sh-->
``` <!---sh-->
echo something | ./anderson
```
## Try:
```<!---sh-->
``` <!---sh-->
./try.sh
```
+2 -2
View File
@@ -1,13 +1,13 @@
## To build:
```<!---sh-->
``` <!---sh-->
make
```
## To use:
```<!---sh-->
``` <!---sh-->
./bellard
```
+11 -11
View File
@@ -1,13 +1,13 @@
## To build:
```<!---sh-->
``` <!---sh-->
make
```
## To use:
```<!---sh-->
``` <!---sh-->
./bmeyer
```
@@ -16,7 +16,7 @@
In a video window (white text on black background):
```<!---sh-->
``` <!---sh-->
./try.sh
```
@@ -31,7 +31,7 @@ dashed argument) for compression and decompression! You've been warned.
The author recommended on linux/x86, glibc 2.0, libc4/5:
```<!---make-->
``` <!---make-->
bmeyer: bmeyer.c
CC -DY="__setfpucw(0x127f)" -O6 $? -o $@ -lm
```
@@ -40,7 +40,7 @@ However many compilers use `-O3` as the maximum level for `-O` optimization.
And on linux/x86, glibc 2.1:
```<!---make-->
``` <!---make-->
bmeyer: bmeyer.c
gcc -DY='int x=0x127f; __asm__ ("fldcw %0" : : "m" (*&x))' $? -o $@ -lm
```
@@ -80,13 +80,13 @@ on stdin, and it will decompress it to stdout --- as either raw or
ASCII .PGM, depending on what format it was compressed from. For
example:
```<!---sh-->
``` <!---sh-->
./glicbawls < michael.pgm > michael.glic
```
and then
```<!---sh-->
``` <!---sh-->
./glicbawls < michael.glic > michael.decoded.pgm
```
@@ -104,7 +104,7 @@ If you still have trouble, simply use a terminal or xterm with
more than 80 columns, and tell `glicbawls` about it by giving the
number of columns as an argument. For example
```<!---sh-->
``` <!---sh-->
./glicbawls 260 <lavabus.pgm >lavabus.glic
```
@@ -122,21 +122,21 @@ decoded as 35, 36, 37, 38 or 39. In order to use this mode, simply
give the maximum allowed error as an argument, with a dash (`-`)
before it. For example:
```<!---sh-->
``` <!---sh-->
./glicbawls -2 < graph.pgm > graph.2.glic
```
will compress in a way that allows decompression with a maximum
error of two. You can combine both types of arguments, i.e.:
```<!---sh-->
``` <!---sh-->
./glicbawls -3 180 < graph.pgm >graph.3.glic
```
will compress with a maximum error of 3, using a 180 column
terminal for the progress display, and:
```<!---sh-->
``` <!---sh-->
./glicbawls -3 180 < graph.3.glic > graph.3maxerr.pgm
```
+3 -3
View File
@@ -1,13 +1,13 @@
## To build:
```<!---sh-->
``` <!---sh-->
make
```
## To use:
```<!---sh-->
``` <!---sh-->
./briddlebane
```
@@ -19,7 +19,7 @@ equivalent file!
You might also like to try:
```<!---sh-->
``` <!---sh-->
./try.sh
INSULTS=15 ./try.sh
+3 -3
View File
@@ -1,20 +1,20 @@
## To build:
```<!---sh-->
``` <!---sh-->
make
```
## To use:
```<!---sh-->
``` <!---sh-->
./dhyang
```
## Try:
```<!---sh-->
``` <!---sh-->
./try.sh
```
+5 -5
View File
@@ -1,12 +1,12 @@
## To build:
```<!---sh-->
``` <!---sh-->
make
```
The following bit of perl may help determine the values you need:
```<!---sh-->
``` <!---sh-->
perl -MConfig -e 'print "$Config{archlibexp}/CORE\n"'
```
@@ -27,14 +27,14 @@ For more detailed information see [2000 dlowe bugs](../../bugs.html#2000_dlowe).
## To use:
```<!---sh-->
``` <!---sh-->
./dlowe [file ...]
```
## Try:
```<!---sh-->
``` <!---sh-->
./try.sh
```
@@ -126,7 +126,7 @@ or EOF is encountered.
### Examples:
```<!---sh-->
``` <!---sh-->
$ echo '12 13 14 15 16 + + + + f' | ./dlowe
70
$ echo '12 13 14 15 16 17 + - * / p' | ./dlowe
+7 -7
View File
@@ -1,6 +1,6 @@
## To build:
```<!---sh-->
``` <!---sh-->
make
```
@@ -9,7 +9,7 @@ You will need X11 header files and libraries installed to build this program.
## To use:
```<!---sh-->
``` <!---sh-->
./jarijyrki < infile.info > outfile.info
```
@@ -18,7 +18,7 @@ You will need a system capable of displaying the results of X Window programs.
## Try:
```<!---sh-->
``` <!---sh-->
./jarijyrki < finance.sheet > myedits.info
```
@@ -88,7 +88,7 @@ supports are:
##### Starting
```<!---sh-->
``` <!---sh-->
./jarijyrki < finance.sheet > myedits.info
```
@@ -144,7 +144,7 @@ To start the spreadsheet program with an existing
spreadsheet, for instance [finance.sheet](finance.sheet), use the following
command line:
```<!---sh-->
``` <!---sh-->
./jarijyrki < finance.sheet
```
@@ -156,7 +156,7 @@ supported by the program.
To start the program with an empty sheet, use
```<!---sh-->
``` <!---sh-->
./jarijyrki < /dev/null
```
@@ -171,7 +171,7 @@ output. Hence, when the spreadsheet window has come up, you've made your
changes, and you press the ESC key the program finishes. To save the results in
a file, the following typical command line would be used:
```<!---sh-->
``` <!---sh-->
./jarijyrki < finance.sheet > myedits.info
```
+6 -6
View File
@@ -1,6 +1,6 @@
## To build:
```<!---sh-->
``` <!---sh-->
make
```
@@ -11,14 +11,14 @@ version](#alternate-code) below.
## To use:
```<!---sh-->
``` <!---sh-->
./natori
```
## Try:
```<!---sh-->
``` <!---sh-->
./try.sh
```
@@ -42,14 +42,14 @@ The author noted that those in the southern hemisphere might want to change
To run the alternate code that supports the southern hemisphere:
```<!---sh-->
``` <!---sh-->
make alt
```
### Alternate use:
```<!---sh-->
``` <!---sh-->
./natori.alt
```
@@ -65,7 +65,7 @@ versions? Or are there any?
### Alternate try:
```<!---sh-->
``` <!---sh-->
./try.alt.sh
```
+4 -4
View File
@@ -1,6 +1,6 @@
## To build:
```<!---sh-->
``` <!---sh-->
make
```
@@ -18,7 +18,7 @@ For more detailed information see [2000 primenum bugs](../../bugs.html#2000_prim
## To use:
```<!---sh-->
``` <!---sh-->
echo n | ./primenum n
```
@@ -27,7 +27,7 @@ NOTE: `n` is an integer.
## Try:
```<!---sh-->
``` <!---sh-->
./try.sh
```
@@ -64,7 +64,7 @@ Instead, the program reads input from `stdin` and returns garbled text on
`stdout`. Fortunately, you can recover the original message simply by
running the program a second time. Try:
```<!---sh-->
``` <!---sh-->
./primenum n < textfile | ./primenum n > textfile2
diff textfile textfile2
```
+8 -8
View File
@@ -1,6 +1,6 @@
## To build:
```<!---sh-->
``` <!---sh-->
make all
```
@@ -18,7 +18,7 @@ For more detailed information see [2000 rince bugs](../../bugs.html#2000_rince).
## To use:
```<!---sh-->
``` <!---sh-->
./rince number number2
```
@@ -28,7 +28,7 @@ different.
## Try:
```<!---sh-->
``` <!---sh-->
./try.sh
```
@@ -51,7 +51,7 @@ observation.
The simplest way to run it is with no arguments. Just type:
```<!---sh-->
``` <!---sh-->
./rince
```
@@ -65,7 +65,7 @@ has a built in time machine. Indeed the program knows the speed of light,
which is used to ensure that we see the "live" pictures. Simply specify
the fraction of a day to skip forward for each screen refresh. I suggest:
```<!---sh-->
``` <!---sh-->
./rince 0.01
```
@@ -73,7 +73,7 @@ To display the output (still guessing?) for a given date, specify two
arguments. The first argument is as before and the second argument is a
Julian day number (given as a fractional component). E.g.:
```<!---sh-->
``` <!---sh-->
./rince 0 2441193.6
./rince 0.01 2441193.6
```
@@ -170,7 +170,7 @@ states the following:
Thus we can plot Galileo's discoveries using the following three plots:
```<!---sh-->
``` <!---sh-->
./rince 0 $(./dmy2jd 7.8 1 1610)
./rince 0 $(./dmy2jd 8.8 1 1610)
./rince 0 $(./dmy2jd 10.8 1 1610)
@@ -180,7 +180,7 @@ However we can go one better by seeing what Galileo would have seen if it
wasn't cloudy on the 9th. Try:
```<!---sh-->
``` <!---sh-->
./rince 0 $(./dmy2jd 9.85 1 1610)
```
+2 -2
View File
@@ -1,13 +1,13 @@
## To build:
```<!---sh-->
``` <!---sh-->
make
```
## To use:
```<!---sh-->
``` <!---sh-->
./robison
```
+5 -5
View File
@@ -1,20 +1,20 @@
## To build:
```<!---sh-->
``` <!---sh-->
make
```
## To use:
```<!---sh-->
``` <!---sh-->
./schneiderwent
```
## Try:
```<!---sh-->
``` <!---sh-->
./schneiderwent schneiderwent.data
./schneiderwent
```
@@ -24,7 +24,7 @@ What's the difference?
If you have a long while to spare (and you're bored enough that you could watch
paint dry :-) ) you might also try:
```<!---sh-->
``` <!---sh-->
./try.sh
```
@@ -33,7 +33,7 @@ you wish to make it run faster, you can override how long it sleeps per
iterations and how many iterations it runs. For instance to make it sleep only
30 seconds and run only twice:
```<!---sh-->
``` <!---sh-->
SLEEP=30 ITERATIONS=2 ./try.sh
```
+11 -11
View File
@@ -1,6 +1,6 @@
## To build:
```<!---sh-->
``` <!---sh-->
make alt
```
@@ -16,7 +16,7 @@ looked like back in 2000 (with a configurable speed). See the
## To use:
```<!---sh-->
``` <!---sh-->
./thadgavin.alt
```
@@ -27,7 +27,7 @@ You can press 'q' at any time to exit.
If you have SDL1 installed:
```<!---sh-->
``` <!---sh-->
./thadgavin_sdl
```
@@ -43,13 +43,13 @@ microseconds) for the SDL version.
To change the SDL one to something like `15000` you can do:
```<!---sh-->
``` <!---sh-->
make SDL_SLEEP=15000 clobber alt
```
and to change the curses one to `40`:
```<!---sh-->
``` <!---sh-->
make SLEEP=40 clobber alt
```
@@ -75,14 +75,14 @@ is not a problem there.
### Original build:
```<!---sh-->
``` <!---sh-->
make all
```
### Original use:
```<!---sh-->
``` <!---sh-->
./thadgavin
```
@@ -91,7 +91,7 @@ is not a problem there.
If you have SDL1 installed:
```<!---sh-->
``` <!---sh-->
./thadgavin_sdl
```
@@ -110,14 +110,14 @@ less than dazzling. We could not test this entry in DOS mode.
Compile using DJGPP as follows:
```<!---sh-->
``` <!---sh-->
gcc thadgavin.c -o thadgavin.exe -Wall -lm -O6 -mpentium -fomit-frame-pointer -ffast-math
```
### To use under Windows, X-Windows or macOS using the Simple DirectMedia Layer:
```<!---sh-->
``` <!---sh-->
gcc -O6 -lpthread -g -o thadgavin thadgavin.c -lSDL -DSDL -lm
```
@@ -125,7 +125,7 @@ Compile using DJGPP as follows:
### To use curses:
```<!---sh-->
``` <!---sh-->
gcc -O6 -lpthread -g -o thadgavin thadgavin.c -lncurses -lm
```
+5 -5
View File
@@ -1,6 +1,6 @@
## To build:
```<!---sh-->
``` <!---sh-->
make
```
@@ -10,14 +10,14 @@ There is an alternate version that compiles [mkentry.c](mkentry.c). See
## To use:
```<!---sh-->
``` <!---sh-->
./tomx
```
## Try:
```<!---sh-->
``` <!---sh-->
./try.sh
```
@@ -32,14 +32,14 @@ using it as a Makefile and running the code ends up running `mkentry`.
### Alternate build:
```<!---sh-->
``` <!---sh-->
make alt
```
### Alternate try:
```<!---sh-->
``` <!---sh-->
./try.alt.sh
```