From 33db2ad2548e3cfded745d0e5e81eea9648a1d72 Mon Sep 17 00:00:00 2001 From: neuroevolutus Date: Thu, 6 Sep 2018 01:35:45 -0500 Subject: [PATCH] Remove -n option on read command --- mecca | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 mecca diff --git a/mecca b/mecca old mode 100644 new mode 100755 index 161d8fcd..7910892d --- a/mecca +++ b/mecca @@ -5,7 +5,7 @@ echo "Ctrl+C to quit" echo "1 - New song" echo "2 - Load song" echo -n "> " -read -n1 launch +read launch echo "" if [ "$launch" = "1" ]; then echo "Name your song:" @@ -29,6 +29,7 @@ elif [ "$launch" = "2" ]; then read song echo "" else + echo "Please enter the number 1 or 2." exit 1 fi