From 4872c92ca0e5e493e65d34d777bcbb0622050365 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 9 May 2018 20:54:20 -0400 Subject: [PATCH] Added the length to win message. --- sounds-abound/sounds-abound | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sounds-abound/sounds-abound b/sounds-abound/sounds-abound index efcd033..fbdfee6 100755 --- a/sounds-abound/sounds-abound +++ b/sounds-abound/sounds-abound @@ -43,7 +43,7 @@ read -sn1 -t .6 guess || guess="win" ((i++)) done if [ $i -eq $length ]; then -echo "you win!" +echo "you win! The answer was $length!" else echo "you lose" echo "You guessed $i. the actual number was $length."