I have the following array stored as svc_list delimited by a ':'
declare -a svc_list=Scalability :Warehouse Cloud Solution :Log Analyis :Monitor and Scale :
I am trying to split it with the following bash script (
IFS=':'
for svc in "${svc_list[@]}"
do
echo $svc
done
When I execute the script, I only get Scalability.
Can some please let me know what I am doing wrong.