[H-GEN] Mega documentation and distro server. Was: Idea for journalling filesystems

Anthony Towns aj at azure.humbug.org.au
Wed Jul 2 01:58:14 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On Wed, Jul 02, 2003 at 01:17:52AM -0400, Jason Parker-Burlingham wrote:
> Hmm.  Right now grep -ri does a credible job.  Actually that raises an
> interesting question for Greg Black---Greg, how do you go about doing
> recursive greps?  If I remember correctly you eschew nonstandard
> options such as (I assume) -r.  I've never found a particularly
> compelling find+grep combination.

What's uncompelling about:

    find -type f | xargs grep 'blah'

? Or:

    find -type f -print0 | xargs -0 grep 'blah'

if you're scripting and worried about insane people using it...

Cheers,
aj

-- 
Anthony Towns <aj at humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.

       ``Is this some kind of psych test?
                      Am I getting paid for this?''

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list