bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange file -i


From: Mike Frysinger
Subject: Re: Strange file -i
Date: Thu, 5 Mar 2015 18:29:47 -0500

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

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]