How to write a csvcut script to cut column by header with multiple files?
0
votes
1
answer
1109
views
Since
csvcut
(from [csvkit
](http://csvkit.readthedocs.io/)) does not take more than a single file at a time, I need to write a script to process multiple files using it.
The first parameter should be the delimiter, the second parameter should be the header of the column to extract, and remaining arguments are the filenames.
If the file names are missing, the script should standard input.
It should be something like this
csvcut ';' Measure calories.csv
I'm not really familiar with csvkit
. Can anyone help?
Asked by amV
(75 rep)
Aug 12, 2019, 07:46 AM
Last activity: Aug 12, 2019, 09:18 AM
Last activity: Aug 12, 2019, 09:18 AM