From 7184ce88a211593572e681fcdeaeb8a55d3310da Mon Sep 17 00:00:00 2001 From: Oliver Schraml Date: Mon, 15 Oct 2018 17:10:00 +0200 Subject: [PATCH] spellme.sh: lets make it into an array, thx for kaufes idea --- spellme.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spellme.sh b/spellme.sh index a0eeda8..a575def 100755 --- a/spellme.sh +++ b/spellme.sh @@ -1,4 +1,6 @@ #!/bin/bash +replacearray=('r1=(aA A LFA)' 'rX=()') + for i in $(seq 1 ${#1}) do echo -e $( echo -e "$(echo "${1:i-1:1}" | \