Let's say we have a String parameter and we want to split it by comma
my_param="foo,bar,bash"
To split this string by comma we can use;
IFS=',' read -r -a array <<< "$my_param"
Here, IFS is a special variable called Internal field separator which defines the char...