User Tools

Site Tools


sample commands

csvgrep -c col1 -m "val1" file.csv | \
csvgrep -c col2 -r "foo|bar" | \
csvcut -c col1,col2,col3 | \
column -t -s,

demonstrates | regex a or b

Ref:- - Simple RegEx Tutorial. It talks about the '|' OR operator in regex. For example “foo|bar” matches a string that has either “foo” or “bar” in it.

csvgrep_notes.txt · Last modified: 2021/07/20 21:37 by raju