I have bash script with a variable storing values in sort of a python-list format :
Business_Unit=["A","B","C,D","E F"]
and need to loop over to get:
A
B
C,D
E F
The script should keep the commas, spaces and any special characters within the double quotes. I've tried using sed, IFS but it was splitting the line for commas within a string too.