OurBigBook About$ Donate
 Sign in+ Sign up
by Ciro Santilli (@cirosantilli, 37)

csvgrep and select column in csvkit

 ... Computer File format Data file format Comma-separated values CSV CLI tool csvkit
 0 By others on same topic  0 Discussions  Updated 2025-05-29  +Created 1970-01-01  See my version
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
Asked at: stackoverflow.com/questions/77266699/how-to-fillter-a-csv-file-with-csvgrep-and-print-only-certain-columns

 Ancestors (10)

  1. csvkit
  2. CSV CLI tool
  3. Comma-separated values
  4. Data file format
  5. File format
  6. Computer
  7. Information technology
  8. Area of technology
  9. Technology
  10.  Home

 Incoming links (1)

  • csvkit

 View article source

 Discussion (0)

+ New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic + Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook