[plug] grep regex on command line with pipe?

Carl Gherardi carl.gherardi at gmail.com
Thu Sep 10 15:39:49 WST 2009

On Thu, Sep 10, 2009 at 3:37 PM, Carl Gherardi<carl.gherardi at gmail.com> wrote:
>> 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

Oops - egrep not grep.

Carl G

More information about the plug mailing list