Fix shellcheck comments for 2000/rince/try.sh

This commit is contained in:
Cody Boone Ferguson committed 2024-02-05 08:33:02 -08:00
1 parent 71299bf8a7
commit 3657b705b9
1 file changed
+16 -20
+16 -20
View File
@@ -23,12 +23,11 @@ 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.
# We actually need word splitting here so we disable the shellcheck warning
# SC2046.
#
# SC2046 (warning): Quote this to prevent word splitting.
# https://www.shellcheck.net/wiki/SC2046
# shellcheck disable=SC2046
./rince 0.001 $(./dmy2jd 7.8 1 1610)
echo 1>&2
@@ -50,36 +49,33 @@ 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.
# We actually need word splitting here so we disable the shellcheck warning
# SC2046.
#
# SC2046 (warning): Quote this to prevent word splitting.
# https://www.shellcheck.net/wiki/SC2046
# 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.
# We actually need word splitting here so we disable the shellcheck warning
# SC2046.
#
# SC2046 (warning): Quote this to prevent word splitting.
# https://www.shellcheck.net/wiki/SC2046
# 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.
# We actually need word splitting here so we disable the shellcheck warning
# SC2046.
#
# SC2046 (warning): Quote this to prevent word splitting.
# https://www.shellcheck.net/wiki/SC2046
# shellcheck disable=SC2046
./rince 0 $(./dmy2jd 10.8 1 1610)
echo 1>&2