> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Jussi Peltola
> Sent: Friday, 22 February 2008 8:39 AM
> To: misc@openbsd.org
> Subject: Re: There's something about OpenBSD...
>
> On Thu, Feb 21, 2008 at 11:22:25PM +0200,
> [EMAIL PROTECTED] wrote:
> > For instance 'ggrep -r ...' instead of 'grep -r ...' to
> > search recursively with gnu grep (a worthless feature imho).
>
> Displaying the name of the file and the matched line nicely
> like grep -r does is not elegant with find + grep
> without using a script or a long and inelegant alias
> - or if it is, I'd be interested in how it can be
> done in case I need to work on some ancient unix.

% find / -name '*.txt' -exec grep foo {} /dev/null \;

Reply via email to