Expand all leading tabs in markdown files
Given how problematic leading tabs in markdown files can be,
we have expanded all leading tabs in markdown files by:
```sh
find * -type f -name '*.md' -print |
while read -r file; do
rm -f "$file.tmp" ;
expand < "$file" > "$file.tmp" ;
mv -f -v "$file.tmp" "$file" ;
done
```
Given the previous changes to `bin/pandoc-wrapper.sh` and other recent
commits and recent pull requests, the were were **NO** changes to
any HTML files. This is a **good thing** as the expression goes.
No there are no leading tabs in any markdown files.
A check to catch any re-introduction of leading tabs
into any markdown file is on the way.
BTW: We do not have anything against leading tabs in files,
even though we have had to deal with their impact on forming
HTML from markdown files (as well as the calc source code).
It is just that this is one of those cases where tabs conflict
(sometimes caused by people wanting to change the classic
8-space tab model) with a desired outcome.
Perform `make www` to perform the above and test under macOS.
This commit is contained in:
1 parent
bf28cac593
commit
7712db4a17
117 files changed
+1758
-1758
No files matched your search
@@ -150,11 +150,11 @@ place to site some references on the AE, but I don't have any.
|
||||
O(c,a,b) let c = a Or
|
||||
boolean-or
|
||||
b (a,b are
|
||||
0 or 1)
|
||||
0 or 1)
|
||||
|
||||
B(b, a) let Boolean
|
||||
b = boolean
|
||||
value of a
|
||||
b = boolean
|
||||
value of a
|
||||
|
||||
P(b, a) let b = 1 if
|
||||
a>0, else 0. Positive
|
||||
@@ -228,8 +228,8 @@ ourselves to two operand operations:
|
||||
temp -= y; (temp == z-y)
|
||||
temp *= x; (temp == (z-y)*x)
|
||||
y += temp; (y == (z-y)*x + y)
|
||||
( == z*x - y*x + y)
|
||||
( == z*x + y*(1-x))
|
||||
( == z*x - y*x + y)
|
||||
( == z*x + y*(1-x))
|
||||
```
|
||||
|
||||
Next we imagine we have a [pc](https://en.wikipedia.org/wiki/Program_counter).
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
## Useful files to view
|
||||
|
||||
- [buzzard.2.README.html](buzzard.2.README.html) - this file
|
||||
- [buzzard.2.design.html](buzzard.2.design.html) - description of FIRST (design documentation of THIRD)
|
||||
- [third](%%REPO_URL%%/1992/buzzard.2/third) - implementation of THIRD in FIRST
|
||||
- [help.th](%%REPO_URL%%/1992/buzzard.2/help.th) - online listing of THIRD primitives
|
||||
- [buzzard.2.README.html](buzzard.2.README.html) - this file
|
||||
- [buzzard.2.design.html](buzzard.2.design.html) - description of FIRST (design documentation of THIRD)
|
||||
- [third](%%REPO_URL%%/1992/buzzard.2/third) - implementation of THIRD in FIRST
|
||||
- [help.th](%%REPO_URL%%/1992/buzzard.2/help.th) - online listing of THIRD primitives
|
||||
|
||||
|
||||
## FIRST demos:
|
||||
@@ -14,7 +14,7 @@ Use:
|
||||
./first < demo_file
|
||||
```
|
||||
|
||||
- [demo1.1st](%%REPO_URL%%/1992/buzzard.2/demo1.1st) - prints Hello World! assuming ASCII
|
||||
- [demo1.1st](%%REPO_URL%%/1992/buzzard.2/demo1.1st) - prints Hello World! assuming ASCII
|
||||
|
||||
|
||||
## THIRD demos:
|
||||
@@ -28,12 +28,12 @@ Use:
|
||||
|
||||
## Demo files:
|
||||
|
||||
- [demo1.th](%%REPO_URL%%/1992/buzzard.2/demo1.th) - prints Hello World! regardless of character set
|
||||
- [demo2.th](%%REPO_URL%%/1992/buzzard.2/demo2.th) - demonstrates a simple loop
|
||||
- [demo3.th](%%REPO_URL%%/1992/buzzard.2/demo3.th) - demonstrates a simple if test
|
||||
- [demo4.th](%%REPO_URL%%/1992/buzzard.2/demo4.th) - recursive factorial calculating on the way up
|
||||
- [demo5.th](%%REPO_URL%%/1992/buzzard.2/demo5.th) - recursive factorial calculating on the way down
|
||||
- [demo6.th](%%REPO_URL%%/1992/buzzard.2/demo6.th) - demonstrates switching from compiler to execution mode
|
||||
- [demo1.th](%%REPO_URL%%/1992/buzzard.2/demo1.th) - prints Hello World! regardless of character set
|
||||
- [demo2.th](%%REPO_URL%%/1992/buzzard.2/demo2.th) - demonstrates a simple loop
|
||||
- [demo3.th](%%REPO_URL%%/1992/buzzard.2/demo3.th) - demonstrates a simple if test
|
||||
- [demo4.th](%%REPO_URL%%/1992/buzzard.2/demo4.th) - recursive factorial calculating on the way up
|
||||
- [demo5.th](%%REPO_URL%%/1992/buzzard.2/demo5.th) - recursive factorial calculating on the way down
|
||||
- [demo6.th](%%REPO_URL%%/1992/buzzard.2/demo6.th) - demonstrates switching from compiler to execution mode
|
||||
|
||||
|
||||
## Interactive THIRD:
|
||||
|
||||
+374
-374
File diff suppressed because it is too large.
Load diff
+8
-8
@@ -40,19 +40,19 @@ following locations though the last one is more ironic:
|
||||
/usr/share/dict/words
|
||||
/usr/share/lib/spell/words
|
||||
/usr/ucblib/dict/words
|
||||
/dev/null # <-- for machines with nothing to say
|
||||
/dev/null # <-- for machines with nothing to say
|
||||
```
|
||||
|
||||
Then using the proper dictionary file it does:
|
||||
|
||||
``` <!---sh-->
|
||||
./ag free software foundation < /usr/share/dict/words
|
||||
./ag obfuscated c contest < /usr/share/dict/words
|
||||
./ag unix international < /usr/share/dict/words
|
||||
./ag george bush < /usr/share/dict/words
|
||||
./ag bill clinton < /usr/share/dict/words
|
||||
./ag ross perot < /usr/share/dict/words
|
||||
./ag paul e tsongas < /usr/share/dict/words
|
||||
./ag free software foundation < /usr/share/dict/words
|
||||
./ag obfuscated c contest < /usr/share/dict/words
|
||||
./ag unix international < /usr/share/dict/words
|
||||
./ag george bush < /usr/share/dict/words
|
||||
./ag bill clinton < /usr/share/dict/words
|
||||
./ag ross perot < /usr/share/dict/words
|
||||
./ag paul e tsongas < /usr/share/dict/words
|
||||
```
|
||||
|
||||
where `/usr/share/dict/words` is the dictionary file.
|
||||
|
||||
+5
-5
@@ -126,23 +126,23 @@ The options of this program are:
|
||||
|
||||
```
|
||||
-centre x y (float x,y) Centre the picture at x+iy in the complex
|
||||
plane (default x=0 y=0)
|
||||
plane (default x=0 y=0)
|
||||
|
||||
|
||||
-factor f (float f) Use f pixels per unit of the plane (default
|
||||
f=x/4 where x is the width)
|
||||
f=x/4 where x is the width)
|
||||
|
||||
|
||||
-julia x y (float x,y) Draw a julia set. Use x+iy as the constant
|
||||
to add after squaring (default x=0 y=0)
|
||||
to add after squaring (default x=0 y=0)
|
||||
|
||||
-limit l (int l) Use l iterations maximum (default l=128)
|
||||
|
||||
-mask m (int m) Use m as a mask in deciding the colour of each
|
||||
pixel (see below) (default m=1)
|
||||
pixel (see below) (default m=1)
|
||||
|
||||
-size x y (int x,y) Produce an x-by-y output (default for raster
|
||||
x=768 y=768; default for text x=63 y=23)
|
||||
x=768 y=768; default for text x=63 y=23)
|
||||
|
||||
-text Produce text instead of raster.
|
||||
```
|
||||
|
||||
+3
-3
@@ -19,7 +19,7 @@ For more detailed information see [1992/vern in bugs.html](../../bugs.html#1992_
|
||||
## To use:
|
||||
|
||||
``` <!---sh-->
|
||||
./vern 3 # <-- default is 2
|
||||
./vern 3 # <-- default is 2
|
||||
```
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ You might start off by giving the following input:
|
||||
63 43
|
||||
76 55
|
||||
71 52
|
||||
67 57 # <-- this may take a while
|
||||
67 57 # <-- this may take a while
|
||||
```
|
||||
|
||||
|
||||
@@ -126,7 +126,7 @@ does:
|
||||
|
||||
``` <!---sh-->
|
||||
sed <vern.c 's/{ /(/g;s/} /)/g;s/; /#define /' |
|
||||
sed 's/} /=/g;s/{ /i/g' >vern.tmp.c
|
||||
sed 's/} /=/g;s/{ /i/g' >vern.tmp.c
|
||||
```
|
||||
|
||||
and compiles `vern.tmp.c`.
|
||||
|
||||
+10
-10
@@ -169,16 +169,16 @@ is reasonably accurate.
|
||||
### Here are some cities you might like to try:
|
||||
|
||||
```
|
||||
New York 41 -74
|
||||
London 52 0
|
||||
Moscow 56 38
|
||||
New Delhi 29 77
|
||||
Sydney -34 151
|
||||
Los Angeles 34 -118
|
||||
Paris 45 2
|
||||
Rio de Janeiro -23 -43
|
||||
Beijing 40 116
|
||||
Tokyo 36 140
|
||||
New York 41 -74
|
||||
London 52 0
|
||||
Moscow 56 38
|
||||
New Delhi 29 77
|
||||
Sydney -34 151
|
||||
Los Angeles 34 -118
|
||||
Paris 45 2
|
||||
Rio de Janeiro -23 -43
|
||||
Beijing 40 116
|
||||
Tokyo 36 140
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user