At 2002-12-25T14:02:07Z, "Bill Moran" <[EMAIL PROTECTED]> writes:

> Ahhh ... so (making sure to understand this information so I can use it
> again later) the quotes tell find to expand the pattern, without quotes
> the shell tries to do it and results in the mentioned error.

That's exactly correct.  Your original command was asking Bash to expand the
command-line to:

  grep '__FILE__' file1.html file2.html file3.html ... file3000.html

and that's just too many arguments to be passing around.  By quoting
'*.html', `find' is doing the pattern-matching internally, and it can do
this without an upper bound on the number of files it can match.

-- 
Kirk Strauser
In Googlis non est, ergo non est.

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

Reply via email to