Lets say I have a variable which has values :
#!/bin/sh
MYVARIABLE="first,second,third"
for vars in MYVARIABLE
do
echo $vars
done
this above doesn't work what I want but it looks fine, this should print first second third without , I wan't it to be printed without , any sugestions?