csvgrep
Filter CSV rows with string and pattern matching. Included in csvkit. More information: https://csvkit.readthedocs.io/en/latest/scripts/csvgrep.html.
- Find rows that have a certain string in column 1:
csvgrep
- Find rows in which columns 3 or 4 match a certain
regex:
csvgrep
- Find rows in which the "name" column does NOT include the string "John Doe":
csvgrep ""
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
