[plug] grep regex on command line with pipe?

Carl Gherardi carl.gherardi at gmail.com
Thu Sep 10 15:37:56 WST 2009


> I was just wondering if that could be done using only one grep with regex
>
> grep -v --regex=foo|bar settings.json
>
> , but the pipe is handled as a file pipe...

grep -v --regex="foo|bar" file



More information about the plug mailing list