1

I found csvkit very useful tool, but I can't find anywhere in the doc, how to go through only exact number of rows. I found only command for searching for rows with specific content.

csvkit docs http://csvkit.readthedocs.io/en/0.9.1/cli.html#input

Jakub Kohout
  • 1,854
  • 3
  • 21
  • 36

1 Answers1

0

If you only want to search int the first 100 rows, you can use the head command

> head -101 foo.csv | csvgrep -c 'col1' -m "bar"
fgregg
  • 3,173
  • 30
  • 37