csvgrep and select column in csvkit
New to topics? Read the documentation here!
csvgrep and select column in csvkit by Ciro Santilli 34 Updated 2024-12-15 +Created 1970-01-01
There seems to be no way without a pipe, you seem to need to reparse the columns, e.g. the tutorial at: csvkit.readthedocs.io/en/latest/tutorial/2_examining_the_data.html#csvgrep-find-the-data-you-need does:
csvcut -c county,item_name,total_cost data.csv | csvgrep -c county -m LANCASTER