Closed hejcz closed 4 years ago
Hi, Is there some way to negate predicates in filter? How can I express filtering out things that do not contain some string?
filter has a -n/--negate option:
filter
-n
--negate
❯ seq 10 | filter -n odd 2 4 6 8 10
Great, thanks!
Hi, Is there some way to negate predicates in filter? How can I express filtering out things that do not contain some string?