I am using the following command to print the last column using the delimiter ','. However one of my output is not printed appropriately as the last column is a string which has multiple commas. How can we ignore the comma in the string and print whole column .
awk -F',' '{print $(NF)}' file.csv | tail +2
Input
1.1.1.1,{'opt':2},"Mozilla,chrome,safari"
Expected Output
"Mozilla,chrome,safari"
Current Output
safari