Re: Official request: Please make GNU grep the default

From: Ulrich Spörlein <uqs_at_spoerlein.net>
Date: Thu, 19 Aug 2010 20:07:05 +0200
On Thu, 19.08.2010 at 16:42:26 +0000, David Xu wrote:
> Gabor Kovesdan wrote:
> 
> > Yes, I'm sorry for my slow reaction, I got a flu some time ago and that 
> > prevented me from fixing the bugs earlier. I have several fixes in my 
> > working copy, which are being discussed with my mentor. Probably, today 
> > or tomorrow they will be committed.
> > 
> > Gabor
> > 
> 
> When will the grep -H print file name for me ?  it is rather painful 
> that the feature is missing. :-(
> So I can not use it with find:
> 
> find . -exec grep -H {} world \;
> I don't know which file contains the word world.

Workaround:

find . -exec grep word {} +

(yeah, not what you asked for ...)

Uli
Received on Thu Aug 19 2010 - 16:07:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:06 UTC