Issue
I've got a CSV file like
Brand,Type,Color
Porsche,Sport,Red
BMW,Coupe,Blue
I'd like to include quotation marks to have it like:
"Brand","Type","Color"
"Porsche","Sport","Red"
"BMW","Coupe","Blue"
What's the fastest way to do it? I will implement it in a cronjob.
Solution
Using sed:
sed -e 's/^\|$/"/g' -e 's/,/","/g' input
Answered By - perreal Answer Checked By - Candace Johnson (WPSolving Volunteer)