Further improvements to 2000/rince/try.sh

Show how the commands that use 'dmy2jd' come up with the values.
This commit is contained in:
Cody Boone Ferguson committed 2024-02-05 08:41:55 -08:00
1 parent 3657b705b9
commit 8b699837ed
1 file changed
+15 -3
+15 -3
View File
@@ -47,7 +47,11 @@ echo 1>&2
./rince 0.01 2441193.6
echo 1>&2
read -r -n 1 -p "Press any key to run: ./rince 0 $(./dmy2jd 7.8 1 1610): "
read -r -n 1 -p "Press any key to run: ./dmy2jd 7.8 1 1610: "
echo 1>&2
./dmy2jd 7.8 1 1610
echo 1>&2
read -r -n 1 -p "Press any key to run: ./rince 0 \$(./dmy2jd 7.8 1 1610): "
echo 1>&2
# We actually need word splitting here so we disable the shellcheck warning
# SC2046.
@@ -58,7 +62,11 @@ echo 1>&2
./rince 0 $(./dmy2jd 7.8 1 1610)
echo 1>&2
read -r -n 1 -p "Press any key to run: ./rince 0 $(./dmy2jd 8.8 1 1610): "
read -r -n 1 -p "Press any key to run: ./dmy2jd 8.8 1 1610: "
echo 1>&2
./dmy2jd 8.8 1 1610
echo 1>&2
read -r -n 1 -p "Press any key to run: ./rince 0 \$(./dmy2jd 8.8 1 1610): "
echo 1>&2
# We actually need word splitting here so we disable the shellcheck warning
# SC2046.
@@ -69,7 +77,11 @@ echo 1>&2
./rince 0 $(./dmy2jd 8.8 1 1610)
echo 1>&2
read -r -n 1 -p "Press any key to run: ./rince 0 $(./dmy2jd 10.8 1 1610): "
read -r -n 1 -p "Press any key to run: ./dmy2jd 10.8 1 1610: "
echo 1>&2
./dmy2jd 10.8 1 1610
echo 1>&2
read -r -n 1 -p "Press any key to run: ./rince 0 \$(./dmy2jd 10.8 1 1610): "
echo 1>&2
# We actually need word splitting here so we disable the shellcheck warning
# SC2046.