Could ARG_MAX be increased?
gurney_j at resnet.uoregon.edu
Thu Sep 23 14:10:02 PDT 2004
Juha Saarinen wrote this message on Thu, Sep 23, 2004 at 23:45 +1200:
> in syslimits.h. This is quite low compared to other OS (SunOS has 1MB
> IIRC, and OpenBSD 3.5 256K) and causes the "argument list too long"
> issues when for instance grep'ing in directories with lots of files.
As others have pointed out, find + xargs is good, but
find -print0 + xargs -0 is even better.. :)
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-current