d/l the entire php documentation as individual html files.
This equates to a LOT of files in a single directory (how can
I get a count of this?)
Anyway, I'm trying to find the docs on some features that
the www.php.net's search isn't really helping on (searching
for __FILE__ doesn't search for __FILE__ ... it searches for
file, and there's too many results) so I try:
grep __FILE__ *.html
and I get the error:
-bash: /usr/bin/grep: Argument list too long
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
I did a little research, and Linux has the MAX_ARG_PAGES kernel
option to increase the size of the command line arguments it
can process ... does FreeBSD have such a kernel option, or some
other way of overcoming this limit?
_________________________________________________________________
MSN 8 with e-mail virus protection service: 3 months FREE*.
http://join.msn.com/?page=features/virus&xAPID=42&PS=47575&PI=7324&DI=7474&SU=
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_eliminateviruses_3mf
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message
- Re: Argument list too long: limitation in grep? bash... Bill Moran
- Re: Argument list too long: limitation in grep?... paul beard
- Re: Argument list too long: limitation in grep?... Greg 'groggy' Lehey
- Re: Argument list too long: limitation in grep?... Jonathan Chen
- Re: Argument list too long: limitation in grep?... Dirk-Willem van Gulik
- Re: Argument list too long: limitation in grep?... Bill Moran
- Re: Argument list too long: limitation in g... Kurt Bigler
- Re: Argument list too long: limitation in g... Cliff Sarginson
- Re: Argument list too long: limitation in grep?... Bill Moran
- Re: Argument list too long: limitation in g... Gary W. Swearingen
- Re: Argument list too long: limitation in g... Kirk Strauser