Date: Thu, 23 Sep 2004 14:09:59 -0700 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: Juha Saarinen <juhasaarinen@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: Could ARG_MAX be increased? Message-ID: <20040923210959.GJ72089@funkthat.com> In-Reply-To: <b34be84204092304456066b0a0@mail.gmail.com> References: <b34be84204092304456066b0a0@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040923210959.GJ72089>