Skip to content

Can Miller remove records? #1210

Answered by johnkerl
YokojimaSkewers asked this question in Q&A
Discussion options

You must be logged in to vote

@YokojimaSkewers I think you want filter -x:

$ mlr --csv --from a.csv filter -x '$A=="c"' then tee b.csv
A,B
a,b
e,f

See also https://miller.readthedocs.io/en/latest/reference-verbs/index.html#filter

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YokojimaSkewers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants