I have data as per below
123,"john,test",John"test,""john"",345
The above needs to be split as per below,
123
"john,test"
John"test
""john""
345
I tried using sed to handle comma within quotes while splitting but for the data which is within multiple double quotes is not displayed correctly. And also the data having double quotes in between also is not getting handled. I tried using awk but couldn't make use of fpat feature as we have older version of awk.
Can you help with the solution for the same?