diff --git a/spellme.sh b/spellme.sh index 668725a..a0eeda8 100755 --- a/spellme.sh +++ b/spellme.sh @@ -2,6 +2,7 @@ for i in $(seq 1 ${#1}) do echo -e $( echo -e "$(echo "${1:i-1:1}" | \ + sed -E 's/([0-9])/\\\\033[1;31m\1\\\\033[00m/' | \ sed -e "s/^[aA]$/\\\\033[1;31mA\\\\033[00mLFA/" | \ sed -e "s/^[bB]$/\\\\033[1;31mB\\\\033[00mRAVO/" | \ sed -e "s/^[cC]$/\\\\033[1;31mC\\\\033[00mHARLIE/" | \ @@ -58,5 +59,5 @@ do sed -e "s/^\+$/\\\\033[1;31m\+\\\\033[00mPLUS SIGN/" | \ sed -e "s/^\=$/\\\\033[1;31m\=\\\\033[00mEQUALS/" | \ sed -e "s/^\ $/\\\\033[1;31m\ \\\\033[00mSPACE/" \ - )" | sed -e "s/|/\\\\033[1;31m\|\\\\033[00mPIPE/" ) + )" | sed -e "s/|/\\\\033[1;31m\|\\\\033[00mPIPE/" ) done