From 1cdf6cb27c6a51626966b70848fd3d1dfb2d8b8b Mon Sep 17 00:00:00 2001 From: eslopfer Date: Thu, 12 Jan 2023 15:52:33 +0000 Subject: [PATCH] fix(joker-num): remove unnecessary flag --- sh/tests/solutions/joker-num.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sh/tests/solutions/joker-num.sh b/sh/tests/solutions/joker-num.sh index f004c1b20..e80108b43 100755 --- a/sh/tests/solutions/joker-num.sh +++ b/sh/tests/solutions/joker-num.sh @@ -4,7 +4,7 @@ for (( ; ; )) do echo "Player one, please enter a number between 1 and 100000 (inclusive) and press enter:" - read -rs number + read -s number # Check if input is empty if [[ -z "$number" ]] @@ -33,7 +33,7 @@ done for (( ; ; )) do echo "Player two, please enter your guess:" - read -r guess + read guess if [[ -z "$guess" ]] then echo "Error: Input is empty"