csvtk

Notes about using csvtk.

Grep

The grep subcommand requires both the field, using -f , and the pattern, using -p:

csvtk grep -f ok -p false file.csv

The -f switch accepts a (glob?) pattern, so to grep over all fields, set -f to "*"

csvtk grep -f "*" -p false file.csv

Last updated