Loop through a comma-separated shell variable
Not messing with IFS Not calling external command variable=abc,def,ghij for i in ${variable//,/ } do # call your procedure/other scripts here below echo “$i” done Using bash string manipulation http://www.tldp.org/LDP/abs/html/string-manipulation.html