On Tue, Dec 24, 2002 at 05:25:23PM -0500, Bill Moran wrote:

[...]
> Is this a shortcoming of bash, grep or FreeBSD?  I'm assuming
> it's not grep, as the command:
> find . -name *.html -print | xargs grep __FILE__
> yeilds:
> -bash: /usr/bin/find: Argument list too long

If you quote the *.html, ie:

    find . -name '*.html' -print | xargs grep __FILE__

this will avoid the arg-list too long problem.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
-----------------------------------------------------------------------
"I love deadlines. I like the whooshing sound they make as they fly by"
                                                        - Douglas Adams

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to