Concat cadenas dentro de la matriz Bash Script
List="A B C D"
for I in $List
do
OUT=${OUT:+$OUT }-$I
done
Scary Scarab
List="A B C D"
for I in $List
do
OUT=${OUT:+$OUT }-$I
done