#/bin/sh
INPUT_ETH="eth0,eth1,eth2,eth3"
i=0
for eth in $(echo $INPUT_ETH | tr "," "\n")
do
eth_$i=$eth
echo "$eth_$i"
i=`expr $i + 1`
if [ $eth_$i = $BLA_BLA]
then;
..............
fi
done
*sh split.sh**
split.sh: eth_0: command not found
split.sh: eth_1: command not found
split.sh: eth_2: command not found
split.sh: eth_3: command not found
final output shold be .. in variable " eth_0 " the string valu shold be "eth0" same as for eth_1....eth_2 etc..etc... after this I want to make a loop on this varibles eth_0,eth_1 etc