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 "<!---c-->" 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:
1 parent
c549f6585e
commit
3ddbac9e6b
357 files changed
+2432
-2399
No files matched your search
+10
-10
@@ -1,6 +1,6 @@
|
||||
## To build:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
make all
|
||||
```
|
||||
|
||||
@@ -23,7 +23,7 @@ If `dir` is the directory (or a directory tree) where you keep
|
||||
all your favorite pictures off the Internet or from
|
||||
`alt.binaries.pictures.*`, do
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
find dir -type f -print | ./samefile
|
||||
```
|
||||
|
||||
@@ -34,7 +34,7 @@ Maybe you will not need to buy another 10 GB disk to store them. :-)
|
||||
|
||||
If you're in this winning entry's directory:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./try.sh
|
||||
```
|
||||
|
||||
@@ -53,7 +53,7 @@ which if (in the code) is unset will be set to the default, 32767.
|
||||
If you wish to change the size to say, 55555:
|
||||
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
make clobber SIZE=55555 alt
|
||||
```
|
||||
|
||||
@@ -83,7 +83,7 @@ Thank God the IEEE does not standardize a coding style...
|
||||
This is best explained in the man page. The troff source for this
|
||||
man page can be found in the file [samefile.1](samefile.1). To render try:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
`man ./samefile.1
|
||||
```
|
||||
|
||||
@@ -100,7 +100,7 @@ Otherwise:
|
||||
|
||||
#### SYNOPSIS
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./samefile
|
||||
```
|
||||
|
||||
@@ -141,7 +141,7 @@ inode numbers is also minimized. Suppose you have six
|
||||
identical files of size 100 in an inode group consisting
|
||||
of the three inodes with numbers 10, 20 and 30:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
$ ls -i # output edited for readability:
|
||||
10 file1 20 file4 30 file6
|
||||
10 file2 20 file5
|
||||
@@ -177,7 +177,7 @@ For everybody:
|
||||
|
||||
What are the duplicates under my home directory?
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
find $HOME | ./samefile
|
||||
```
|
||||
|
||||
@@ -185,14 +185,14 @@ For the sysadmin folks:
|
||||
|
||||
Report all duplicate files under /usr larger than 16k:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
find /usr -size +16384c -a -type f | ./samefile
|
||||
```
|
||||
|
||||
For the ftp and WWW admins:
|
||||
How much space is wasted below our site's /pub directory?
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
find /pub -type f | samefile | awk '{sum += $1} END {print sum}'
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user