Date: Thu, 23 Sep 2004 10:05:47 -0400 From: Geoff Speicher <geoff@speicher.org> To: Putinas Piliponis <Putinas.Piliponis@hansa.lt> Cc: freebsd-current@freebsd.org Subject: Re: Could ARG_MAX be increased? Message-ID: <20040923140547.GA3884@sirius.speicher.org> In-Reply-To: <217202CB5FF8AE439E263CE3D48ECB50686C37@honda.int.hansa.lt> References: <217202CB5FF8AE439E263CE3D48ECB50686C37@honda.int.hansa.lt>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 23, 2004 at 04:54:56PM +0300, Putinas Piliponis wrote: > but this is workaround - isn't it ? It's not so much a workaround as it is a general purpose solution. You can never increase ARG_MAX enough to cover all possible scenarios. Geoff > -----Original Message----- > From: owner-freebsd-current@freebsd.org > [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Cyrille Lefevre > Sent: Thursday, September 23, 2004 4:47 PM > To: Juha Saarinen; freebsd-current@freebsd.org > Subject: Re: Could ARG_MAX be increased? > > "Juha Saarinen" <juhasaarinen@gmail.com> wrote: > > Currently, ARG_MAX is set to: > > > > $ getconf ARG_MAX > > 65536 > > > > 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. > > > how about grep -r ou find | xargs grep ! > > Cyrille Lefevre. > -- > home: mailto:cyrille.lefevre@laposte.net > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040923140547.GA3884>