ShawnMilo / minus

Filter out multiple strings from stdin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

minus

The minus tool accepts data from stdin and filters out any arguments passed.

It simplifies something like this:

some_command | grep -vF thing1 | grep -vF thing2 | grep -vF thing3

to look like this:

some_command | minus thing1 thing2 thing3

This can be done using a file with grep and the -f option, but sometimes that's a lot more work when experimenting manually.

About

Filter out multiple strings from stdin.

License:BSD 2-Clause "Simplified" License


Languages

Language:Go 100.0%