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