Improve 2012/grothe/try.sh + other minor fixes
The try section in the README.md file did not refer to the script. The URL in the cookie recipe file was updated to refer to the domain that the old one redirects to just in case the old one ever expires or no longer redirects to the more recent domain. The thanks file notes this for reference as an aside for context and historical purposes, noting both URLs.
This commit is contained in:
1 parent
996f716fe1
commit
b8713331b2
9 files changed
+19
-14
No files matched your search
@@ -25,11 +25,7 @@ more shared files with their proper numbers):
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./grothe -grothe.c 1+grothe.c.1 2+grothe.c.2
|
||||
|
||||
./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 1-cookie_piece1.dat 2-cookie_piece2.dat 4-cookie_piece4.dat 4+cookie_recipe_restore.txt
|
||||
./try.sh
|
||||
```
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -2,7 +2,7 @@ This is based on the Urban Legend about Neiman Marcus charging $25,000 for
|
||||
their cookie recipe. No one knows the source, but the recipe does make good
|
||||
cookies and a LOT of them. Recipe is in Public Domain.
|
||||
|
||||
From Steve's Recipe Database http://recipes.stevex.net/
|
||||
From Steve's Recipe Database https://www.mealsteps.com.
|
||||
|
||||
Title: $25,000 Cookies
|
||||
Yield: 112 Servings
|
||||
|
||||
@@ -2,7 +2,7 @@ This is based on the Urban Legend about Neiman Marcus charging $25,000 for
|
||||
their cookie recipe. No one knows the source, but the recipe does make good
|
||||
cookies and a LOT of them. Recipe is in Public Domain.
|
||||
|
||||
From Steve's Recipe Database http://recipes.stevex.net/
|
||||
From Steve's Recipe Database https://www.mealsteps.com.
|
||||
|
||||
Title: $25,000 Cookies
|
||||
Yield: 112 Servings
|
||||
|
||||
+9
-7
@@ -12,22 +12,24 @@ fi
|
||||
|
||||
make CC="$CC" all >/dev/null || exit 1
|
||||
|
||||
read -r -n 1 -p "Press any key to break recipe into crumbs: "
|
||||
echo 1>&2
|
||||
echo "$ ./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"
|
||||
read -r -n 1 -p "Press any key to continue (break recipe into crumbs): "
|
||||
echo 1>&2
|
||||
./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
|
||||
echo 1>&2
|
||||
|
||||
read -r -n 1 -p "Press any key to restore cookie recipe: "
|
||||
echo 1>&2
|
||||
echo "$ ./grothe 1-cookie_piece1.dat 2-cookie_piece2.dat 4-cookie_piece4.dat +cookie_recipe_restore.txt" 1>&2
|
||||
./grothe 1-cookie_piece1.dat 2-cookie_piece2.dat 4-cookie_piece4.dat +cookie_recipe_restore.txt
|
||||
read -r -n 1 -p "Press any key to continue (restore cookie recipe): "
|
||||
echo 1>&2
|
||||
|
||||
read -r -n 1 -p "Press any key to show that the two files are the same: "
|
||||
read -r -n 1 -p "Press any key to run: diff -s cookie_recipe.txt cookie_recipe_restore.txt: "
|
||||
echo 1>&2
|
||||
diff -s cookie_recipe.txt cookie_recipe_restore.txt
|
||||
echo 1>&2
|
||||
|
||||
read -r -n 1 -p "Press any key to see the recipe file, restored: "
|
||||
read -r -n 1 -p "Press any key to see the recipe file, restored (space = next page, q = quit): "
|
||||
echo 1>&2
|
||||
cat cookie_recipe_restore.txt
|
||||
less -rEXFK cookie_recipe_restore.txt
|
||||
@@ -3759,6 +3759,13 @@ restrict them.
|
||||
|
||||
Cody also restored the original code from the archive.
|
||||
|
||||
And although the URL works for now (via redirect), Cody changed the website
|
||||
linked to in the recipe file to the domain that the old one currently redirects
|
||||
to, in case the other domain ends up expiring or stops redirecting to the more
|
||||
recent domain. For historical purposes the old link was
|
||||
`http://recipes.stevex.net/` but it redirects to `https://www.mealsteps.com`
|
||||
which the recipe file now links to.
|
||||
|
||||
|
||||
## <a name="2012_hamano"></a>[2012/hamano](/2012/hamano/hamano.c) ([README.md](/2012/hamano/README.md]))
|
||||
|
||||
|
||||
Reference in new issue
Block a user