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