special purpose underscore to space converter
authorChris Koeritz <fred@gruntose.com>
Fri, 25 May 2018 22:11:13 +0000 (18:11 -0400)
committerChris Koeritz <fred@gruntose.com>
Fri, 25 May 2018 22:11:13 +0000 (18:11 -0400)
just takes lines of input and turns the underscores back into spaces; part of a simple readability toolset for converting file names to titles.

scripts/text/interactive_underscores_to_spaces.sh [new file with mode: 0644]

diff --git a/scripts/text/interactive_underscores_to_spaces.sh b/scripts/text/interactive_underscores_to_spaces.sh
new file mode 100644 (file)
index 0000000..ed70476
--- /dev/null
@@ -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
+