improved indentation and whitespace for markdown code blocks
All code blocks in markdown have been intended by at least 4 spaces. We add `--tab-stop=8` to all `pandoc(1)` executions in order to set a better tab stop indentation, especially for tab intended code blocks. Changed `bin/pandoc-wrapper.sh` VERSION from "1.5.3 2024-03-26" to "1.6 2024-03-31". Fixed `1991/brnstnd/sorta.README.md` so that the sorta code is code blocks. Removed unneeded paragraph group in copyright in `inc/footer.default.html`. Fixed excess whitespace after list Author on entry `index.html` page. Changed `bin/output-index-author.sh` VERSION from "1.5.2 2024-03-26" to "1.6 2024-03-31". Performed `make www` to perform the above and test under macOS. TODO: Fix the problem of the initial line of code being extra intended. TODO: Fix excess whitespace around code that is inline.
This commit is contained in:
1 parent
b84c27ce02
commit
a996f8d2b8
734 files changed
+16723
-16963
No files matched your search
+12
-12
@@ -1,7 +1,7 @@
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
@@ -10,22 +10,22 @@ make
|
||||
To create a shared secret shared among `M` people with `N+1` needed to reconstruct:
|
||||
|
||||
```sh
|
||||
./grothe -secret 1-/dev/urandom 2-/dev/urandom ... \
|
||||
N-/dev/urandom 1+shared1 2+shared2 ... M+sharedM
|
||||
./grothe -secret 1-/dev/urandom 2-/dev/urandom ... \
|
||||
N-/dev/urandom 1+shared1 2+shared2 ... M+sharedM
|
||||
```
|
||||
|
||||
To reconstruct the original (an arbitrary combination of `N+1` or
|
||||
more shared files with their proper numbers):
|
||||
|
||||
```sh
|
||||
./grothe I-sharedI J-sharedJ K-sharedK ... +reconstructed
|
||||
./grothe I-sharedI J-sharedJ K-sharedK ... +reconstructed
|
||||
```
|
||||
|
||||
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
./try.sh
|
||||
```
|
||||
|
||||
|
||||
@@ -76,18 +76,18 @@ To split a secret into 4 pieces of which at least 3 will be needed to get it (in
|
||||
this case the cookie recipe) back:
|
||||
|
||||
```sh
|
||||
./grothe \
|
||||
-cookie_recipe.txt\
|
||||
1-/dev/urandom 2-/dev/urandom\
|
||||
1+cookie_piece1.dat 2+cookie_piece2.dat 3+cookie_piece3.dat 4+cookie_piece4.dat
|
||||
./grothe \
|
||||
-cookie_recipe.txt\
|
||||
1-/dev/urandom 2-/dev/urandom\
|
||||
1+cookie_piece1.dat 2+cookie_piece2.dat 3+cookie_piece3.dat 4+cookie_piece4.dat
|
||||
```
|
||||
|
||||
To put the recipe back together using the first, second and fourth pieces:
|
||||
|
||||
```sh
|
||||
./grothe \
|
||||
1-cookie_piece1.dat 2-cookie_piece2.dat 4-cookie_piece4.dat
|
||||
+cookie_recipe_restore.txt
|
||||
./grothe \
|
||||
1-cookie_piece1.dat 2-cookie_piece2.dat 4-cookie_piece4.dat
|
||||
+cookie_recipe_restore.txt
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user