csvgrep

csvgrep

TLDR

Find rows that have a certain string in column 1

>_ csvgrep -c [1] -m [string_to_match] [data.csv]
copy

Find rows in which columns 3 or 4 match a certain regex pattern

>_ csvgrep -c [3,4] -r [regex_pattern] [data.csv]
copy

Find rows in which the "name" column does NOT include the string "John Doe"

>_ csvgrep -i -c [name] -m ["John Doe"] [data.csv]
copy

Copied to clipboard
free 100$ digital ocean credit