From: Chris Koeritz Date: Fri, 25 May 2018 23:16:40 +0000 (-0400) Subject: decided to stop once there is no input left X-Git-Tag: 2.140.113^2~5 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=a1ae478dbe2640a2fd5c92aec7f67c593ab9cae6 decided to stop once there is no input left --- diff --git a/scripts/text/interactive_underscores_to_spaces.sh b/scripts/text/interactive_underscores_to_spaces.sh index 2f122619..9d414526 100644 --- a/scripts/text/interactive_underscores_to_spaces.sh +++ b/scripts/text/interactive_underscores_to_spaces.sh @@ -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