I have a file where the fields are encapsulated with double quotes - general example of file:
"Internal ID", "External ID", "Name"
"123", "ABC", "ABC Incorporated"
Desired outcome, removing first column and saving the file back with the same name:
"External ID", "Name"
"ABC", "ABC Incorporated"
Can the above sed be modified to handle the "," delimiter? If so, how? Or are there better alternatives? Still a shell noob but I tried the following with no success:
sed -i 's/[^'\"','\"']*,//' file.csv
Any help be greatly appreciated.