decided to stop once there is no input left
[feisty_meow.git] / scripts / text / interactive_underscores_to_spaces.sh
index ed704767ee352bcddbf6410f34ceb9b00acc2348..9d41452610b5b73f28b3103200325a56d7cd9984 100644 (file)
@@ -4,8 +4,8 @@ source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
 
 while true; do
   sep 14 
-  read line 
-  echo "< arfle_soiwe_pestunius" 
-  echo "> arfle_soiwe_pestunius" | sed -e 's/_/ /g'
+  read line || break
+  echo "< $line"
+  echo "> $line" | sed -e 's/_/ /g'
 done