Re: Official request: Please make GNU grep the default

From: Stein Morten Sandbech <stein_at_wopr.ife.no>
Date: Thu, 19 Aug 2010 11:57:47 +0200
Hi,

GNU grep is OK.  However standard BSD grep also work:

find . -exec grep -i world {} /dev/null \;

or even:

find . -exec grep -in world {} /dev/null \;

if you want linenumbers ...

hth

Stein Morten



On Aug 19, 2010, at 11:29, freebsd-current-request_at_freebsd.org wrote:

> Date: Thu, 19 Aug 2010 16:42:26 +0000
> From: David Xu <davidxu_at_freebsd.org>
> Subject: Re: Official request: Please make GNU grep the default
> To: Gabor Kovesdan <gabor_at_freebsd.org>
> Cc: delphij_at_freebsd.org, Andrey Chernov <ache_at_nagual.pp.ru>,	Doug
> 	Barton <dougb_at_freebsd.org>, core_at_freebsd.org, current_at_freebsd.org
> Message-ID: <4C6D5EF2.2040603_at_freebsd.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> 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.
> 
> Regards,
> David Xu
Received on Thu Aug 19 2010 - 08:33:47 UTC

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