From b8713331b2308ee294f2a51c171f9de5b477c6ec Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Thu, 25 Jan 2024 10:13:26 -0800 Subject: [PATCH] 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. --- 2012/grothe/README.md | 6 +----- 2012/grothe/cookie_piece1.dat | Bin 1002 -> 1002 bytes 2012/grothe/cookie_piece2.dat | Bin 1002 -> 1002 bytes 2012/grothe/cookie_piece3.dat | Bin 1002 -> 1002 bytes 2012/grothe/cookie_piece4.dat | Bin 1002 -> 1002 bytes 2012/grothe/cookie_recipe.txt | 2 +- 2012/grothe/cookie_recipe_restore.txt | 2 +- 2012/grothe/try.sh | 16 +++++++++------- thanks-for-help.md | 7 +++++++ 9 files changed, 19 insertions(+), 14 deletions(-) diff --git a/2012/grothe/README.md b/2012/grothe/README.md index fd5da73ec..89e846724 100644 --- a/2012/grothe/README.md +++ b/2012/grothe/README.md @@ -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 ``` diff --git a/2012/grothe/cookie_piece1.dat b/2012/grothe/cookie_piece1.dat index dd3742e1c0f7a9de693c8a7b8d04a6cacfdb6590..88f8d76d2269af1976d2dc7fda1e29c3e507a8eb 100644 GIT binary patch literal 1002 zcmVm31TxS?9h|&6%T4%2I+8n3Q(elx z^40K}unl9xi zY|w$Cg-nMJrirm}Tl_rv@N%;}WRnO^>at=0G~L)c$kc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+R559K$YqEd1t(&AbEqtT;0qGF_?tpeB~fpMt=VUKh8S*NaZULRcRn2NBHiFhf5S@H@&02Y_fK-{$zI@SzPj5C{JCuIK--W`}8wj9S3fjVM>A>OQ@n>SV-KM zASp@27{Dz}^_F~*mM#+=%f=3B)}9r0?Pbx-YjZx|4Q5n>?!&L3c%_JiYK-~m&LyE+ YH2qU$=3Nb|N3+$W%O*6D@Jg0L(i=VZ5C8xG diff --git a/2012/grothe/cookie_piece3.dat b/2012/grothe/cookie_piece3.dat index b17cd5f59151be5e6522380631bf50ac9d9a68ce..d13b06ab8a6eb761a01f0f851d061936c29163c3 100644 GIT binary patch literal 1002 zcmV2<0nJZujR`sc$7(uyfeF+14Uv-&JYeWi9l5LMNt34< z%E*DorMawPuA?yUm<2|N6zz95&$vF44??amEyt$Lhc%kzkXdoenlu2g;rUlROZltg z-MlEtuuG*Qas=$`G?SRcLZ?*bG>5#oA@_MzgWdDT&nxXfa$0}XPA1eUs)i! zj($%emWGDbZW z&rAMO&XJqZ?J83aG#FXJd$jfvOx{lNo7*|KQDQdd)_RqmbJ;s`RR-*_wMHtl-XmzX z*fO-tazv7bG7%a0|HGbLNSP8nY}Toy+z>?1{8Y^h{3#NN>ZuQDgQ36!OJs@6)Oa`& zzy&uDOiGf_lRO4Is~pgi&34CW-Ip>I(r*;ZFt8f|H>iENK$_sD2?l#MJ@eLQF_1976e_$V1*+#DksEw!A zKaz6B44$W1Zt3`j?#g(5@D3LGtuVC1HyOVR%wm)3=w$#H30Ms4-0Wok(O14uJtM<& zLkQ~TI~1mR)Q?l!%%2e#(qzW;bzujQt%dh%@t_}wWDAjNh~s&fFQMqfRos#-NXyWi`EXkP z7G^yc{}Hjh5}jkOm+t*X{CQ13$dQyOZqHjO!&O!%A}T(p$PMdvt)f_^Sck`J<8R4{ z>b<%k9P*JgZ=gDnltC|5o>pWf_O)eOj47kBq#q0UD#H%A{uPR18l~~7;9$EpuW(aV zFdcMrtH5=1luTk52cdNMXcgySi>zfmqJIU2tQ{%g9De=)B$cV|LkohNhD|32w%7b# zuoye@Swch3f7gHFUaM+s=Q~E`v)s*xWZ~AR6?|09bO{Um&!kaQ{haM=L4Davj!oM= zUlg#&k>0mHk0ra_pJiZm08VD@}t{~SXn`f;Ao%FEDa7)h)0n0!h3Ucmf^kXjV5L`JI09FG_%ok+yZ Yg*w_7wHeZc7h-m3L3-Z1C@sP!zu~X+*#H0l literal 1002 zcmVSJ8RHVfURwhJjnQ%u-Q01MkxxGM}G49w`hC@b^Yc9YIC>T#^%>8}6=PdBPt ze=t{Gx5D$BSE%1~wT5K?t#^8CVlyd79OJ&!CI3xl?u z-)z;jWEpLH;_T`N#qmU$kb*rA8EbMf5G5YGo9*BBtHF zDYDDUq4VIWOMFK_?J~DDafIzvC+pzb<+zbhct9vqEE@!-C4njXmYEic(7=!b+vWnu zVVQV9Q;P6V7>C1Ut!5ArN2HV&E6Suk27=ap&57U#f`4)AwX5zL0nv4EaR7d^4DYoy z@3~Zgo=8j)wBPxd(3oE&eP;-v363X}hxN4fi+so3f_&BCW2W0;>hjORD0!Im)VIJ0_s1qE-2%yOP-VIvRCeSaI8T=YK2uxH577l9x{tBo{v@@Mb~QNx z(cKl@AgGc(LyW$c$EIw|798arnVUw@q$^S8H&+H`po{(EsTpwVz`XSKd)4NXxvWDe z4|39N%1EFN=UrgugAne!ml^}`Xw3W##lWseHsdET!6}`r3sGEOaPvd+Fa%k&U*pko+6aIbF$2lc_Gm|sl|Fuht43|o*mS1K1dCwv=5mfT? zZ^IRhpoXt?sn~?DFMwaF>@Q}15gt7ZsUC%a^%RcXUEF}ci+=%Gh2gm3_d|Xb*%u3d Y>x=_P3KPsVX=LWwO*YQrxQ&E~qcipB^8f$< diff --git a/2012/grothe/cookie_piece4.dat b/2012/grothe/cookie_piece4.dat index fd9a4a61d40e61c38e9874ced9b83a28fe432538..5efa2642b8d13f2e42c03614dc8bf37329ab0829 100644 GIT binary patch literal 1002 zcmVmx z_q)v@^}@DgGq>jNeU9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sxjXKzdRwk#@E{S z{l%t-8fLLWfU-CsNYSG-%+Ma{nj`oG5>Z8EYRr8NF{@3TPzRLohh`bXRr`xg53843 z@N-OKv2R)71d-lCrPK@33J}%KXnV`}Mv&%Wg!J<<0jYhh%3nbO(E|;pdk6}Sm4pCh zK}WA30y)eo*m*ipK&e8?RqUiTVelb@>H8jz%3C}XF|uXpul)S@&C^3a>q0o?uUt^j zdYTF(&hVOf{9vV{S0cf_{$m5I_kF%KzGJ9`MC5$D9MNrL7;Rmij^Mzee5BX*ER(ii zw}AFQ-fM%-XLItG=q#e^N+-9=622s=gQ8o-`ScO1CfIL=fw*Z9kI3OgCDHyvD4>Q% z?=d~%_f=VRM9GuO-;&yiO038_AL4$H^ql?!&wwWo7KVsQvI}v}+K$|#UZtZ2hXKJ$ z(`jn2+N)!NNgxmw-=Tu`Hpz|ndBv$6p*;z&cxCZjhGyRYjz2s3FeG&KCT9;{2`VcD zB|%)AYu>t4_*L^2vW3s;YBmp%ap8x$@N(uTnxo2EEg{TJDP*qI7QM34MjXUy*H0<< zt4fJknCxlsu|$Us*`6=QFSBxfao*d=mORiiH!y0Uf=h<2iG-Ar@AwS5ChPNVLQN5% zh{1~!YZ7{VCV}mP?o-#>2QD2^WBd{%ZIZp9l^pvzeEcOWNZF?^ODsiH$JG%K}jFR`a=mRJ>SyzXQpx=25z4!~Ef79X4Su61h!aPTR!IKZ+2Yzbh1lUk;OXq} zjOc(j>I@^cZCCi2<9Vtb$zSIi-pFb&#p}J{`gYN?G`*orYeY+u^oIK(--o&s+&_eE Y?8BzWVH$&?%;i;UuAhB$5(G}pA%3X#(f|Me diff --git a/2012/grothe/cookie_recipe.txt b/2012/grothe/cookie_recipe.txt index 4a2a786b1..59c239204 100644 --- a/2012/grothe/cookie_recipe.txt +++ b/2012/grothe/cookie_recipe.txt @@ -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 diff --git a/2012/grothe/cookie_recipe_restore.txt b/2012/grothe/cookie_recipe_restore.txt index 4a2a786b1..59c239204 100644 --- a/2012/grothe/cookie_recipe_restore.txt +++ b/2012/grothe/cookie_recipe_restore.txt @@ -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 diff --git a/2012/grothe/try.sh b/2012/grothe/try.sh index 1a7945d7f..153728b47 100755 --- a/2012/grothe/try.sh +++ b/2012/grothe/try.sh @@ -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 diff --git a/thanks-for-help.md b/thanks-for-help.md index b82898c5b..62e84285f 100644 --- a/thanks-for-help.md +++ b/thanks-for-help.md @@ -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. + ## [2012/hamano](/2012/hamano/hamano.c) ([README.md](/2012/hamano/README.md]))