The Problem
I need to be able to quote all headers and values in the output in order to maintain compatibility with another system. AFAIK, csvtk doesn't currently support his.
Reproduction
Given input file x.csv:
"A A","B","C","D"
"1"," 2","3 ","4"
Given command:
csvtk outputs:
The desired output should be the same as the input file.
Workaround
I'm currently using miller as a workaround:
csvtk sort x.csv | mlr --csv --quote-all --no-color cat
The Problem
I need to be able to quote all headers and values in the output in order to maintain compatibility with another system. AFAIK, csvtk doesn't currently support his.
Reproduction
Given input file
x.csv:Given command:
csvtk outputs:
The desired output should be the same as the input file.
Workaround
I'm currently using miller as a workaround: