Using mlr aka miller to combine selected fields from multiple CSV files
Pontifications
- I think it’s worth pulling out the miller aka mlr bits from Users don’t know when their antivirus breaks Firefox and it’s not obvious to them so they don’t mention it in their support requests because combining selected fields CSV files is a common thing to do:
mlr --csv cut -x -f 'product,topic,tags' firefox*.csv > ff58-65-id-created-title-content-firefoxversion-1streleaseweek-day.csv
where:
product, topic, tags
are the fields to cut outfirefox*.csv
are the CSV files to combine