Сплит Sh String
#YOURSTRING="this_is_an_example"
#output:
#this
#is
#an
#example
for i in $(echo $YOURSTRING | tr "_" "\n")
do
echo $i
done
Wrong Willet
#YOURSTRING="this_is_an_example"
#output:
#this
#is
#an
#example
for i in $(echo $YOURSTRING | tr "_" "\n")
do
echo $i
done
IN="bla@some.com;john@home.com"
arrIN=(${IN//;/ })