From: Chris Koeritz Date: Fri, 25 May 2018 22:11:13 +0000 (-0400) Subject: special purpose underscore to space converter X-Git-Tag: 2.140.113^2~7 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=d92821b46533210cd43b2ad35c093874f286b428;p=feisty_meow.git special purpose underscore to space converter just takes lines of input and turns the underscores back into spaces; part of a simple readability toolset for converting file names to titles. --- diff --git a/scripts/text/interactive_underscores_to_spaces.sh b/scripts/text/interactive_underscores_to_spaces.sh new file mode 100644 index 00000000..ed704767 --- /dev/null +++ b/scripts/text/interactive_underscores_to_spaces.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +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' +done +