I want to read a file line by line, split each line by comma (,) and store the result in an array. How to do this in a bash shell script?
Sample line in my comma separated file
This should be the output after splitting:
arr=123 arr=2014-07-21 10:01:44 arr=123|8119|769.00||456|S