Re: Could ARG_MAX be increased?

From: John-Mark Gurney <gurney_j_at_resnet.uoregon.edu>
Date: Thu, 23 Sep 2004 14:09:59 -0700
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."
Received on Thu Sep 23 2004 - 19:10:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:13 UTC