Shell Loop Tupel
OLDIFS=$IFS
IFS=','
for i in c,3 e,5
do
set -- $i
echo $1 and $2
done
IFS=$OLDIFS
# Output:
c and 3
e and 5
Benja
OLDIFS=$IFS
IFS=','
for i in c,3 e,5
do
set -- $i
echo $1 and $2
done
IFS=$OLDIFS
# Output:
c and 3
e and 5