Date: 25 Dec 2002 14:41:18 -0800 From: swear@attbi.com (Gary W. Swearingen) To: "Bill Moran" <bill_moran2@hotmail.com> Cc: questions@freebsd.org Subject: Re: Argument list too long: limitation in grep? bash? FreeBSD? Message-ID: <hxk7hx3enl.7hx@localhost.localdomain> In-Reply-To: <F25p7Jl3Oh3Quct2Dsk00019655@hotmail.com> References: <F25p7Jl3Oh3Quct2Dsk00019655@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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. 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?hxk7hx3enl.7hx>