I need to loop through a list of strings, and use each word as parameter for my other functions,
PB_REGION_UPPER=NA,NASA
for region in ${PB_REGION_UPPER//,/}
do
echo $region
done
I was expecting the result of this to be
NA
NASA
so I can pass NA and NASA separately to other function however the result I got was just
NANASA
isnt supposes to /,/ separate two words here?