Deal with shellcheck warnings in 2000/rince/try.sh

This commit is contained in:
Cody Boone Ferguson committed 2024-01-21 05:21:01 -08:00
1 parent a576f1e45c
commit bf3ebe435b
1 file changed
+29
+29
View File
@@ -22,6 +22,14 @@ echo 1>&2
read -r -n 1 -p "Press any key to run: ./rince 0.001 $(./dmy2jd 7.8 1 1610): "
echo 1>&2
# ShellCheck is incorrect about:
#
# SC2046 (warning): Quote this to prevent word splitting.
#
# because we actually want word splitting.
#
# shellcheck disable=SC2046
./rince 0.001 $(./dmy2jd 7.8 1 1610)
echo 1>&2
@@ -42,15 +50,36 @@ echo 1>&2
read -r -n 1 -p "Press any key to run: ./rince 0 $(./dmy2jd 7.8 1 1610): "
echo 1>&2
# ShellCheck is incorrect about:
#
# SC2046 (warning): Quote this to prevent word splitting.
#
# because we actually want word splitting.
#
# shellcheck disable=SC2046
./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): "
echo 1>&2
# ShellCheck is incorrect about:
#
# SC2046 (warning): Quote this to prevent word splitting.
#
# because we actually want word splitting.
#
# shellcheck disable=SC2046
./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): "
echo 1>&2
# ShellCheck is incorrect about:
#
# SC2046 (warning): Quote this to prevent word splitting.
#
# because we actually want word splitting.
#
# shellcheck disable=SC2046
./rince 0 $(./dmy2jd 10.8 1 1610)
echo 1>&2