Date: Wed, 25 Dec 2002 18:07:35 -0500 From: "Bill Moran" <bill_moran2@hotmail.com> To: swear@attbi.com Cc: questions@freebsd.org Subject: Re: Argument list too long: limitation in grep? bash? FreeBSD? Message-ID: <F32o48kwkrfxm8G8mcJ0000bf4c@hotmail.com>
next in thread | raw e-mail | index | archive | help
>From: swear@attbi.com (Gary W. Swearingen) > > > > find . -name '*.html' -print | xargs grep __FILE__ > >One might as well get in the habit of using the more robust > > find . -name '*.html' -print0 | xargs -0 grep __FILE__ > >Otherwise, the "-print" isn't needed at all; it's a default. Very true. Much like Greg pointed out, I'm using the correct commands, I just need to start using them correctly ;) -Bill _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F32o48kwkrfxm8G8mcJ0000bf4c>