On 05 Mar 2015 15:20, Chet Ramey wrote:
> On 3/4/15 6:07 PM, Stephane Chazelas wrote:
> > $ perl -ne 'print if /foo/' *
>
> I just use grep directly.
fwiw, git has a grep helper. this tends to be faster than a plain grep since
it
automatically filters out ignored files. you just have to remember whether you
want to grep source files (things tracked by git) or random generated files
(like config.log).
-mike