Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2010 20:07:05 +0200
From:      Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@spoerlein.net>
To:        David Xu <davidxu@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: Official request: Please make GNU grep the default
Message-ID:  <20100819180704.GE80306@acme.spoerlein.net>
In-Reply-To: <4C6D5EF2.2040603@freebsd.org>
References:  <4C6505A4.9060203@FreeBSD.org> <20100814155346.GA6510@nagual.pp.ru> <4C66C0A4.3000301@FreeBSD.org> <4C6D5EF2.2040603@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100819180704.GE80306>