RE: Could ARG_MAX be increased?

From: Putinas Piliponis <Putinas.Piliponis_at_hansa.lt>
Date: Thu, 23 Sep 2004 16:54:56 +0300
but this is workaround - isn't it ? 

-----Original Message-----
From: owner-freebsd-current_at_freebsd.org
[mailto:owner-freebsd-current_at_freebsd.org] On Behalf Of Cyrille Lefevre
Sent: Thursday, September 23, 2004 4:47 PM
To: Juha Saarinen; freebsd-current_at_freebsd.org
Subject: Re: Could ARG_MAX be increased?

"Juha Saarinen" <juhasaarinen_at_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_at_laposte.net
_______________________________________________
freebsd-current_at_freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to
"freebsd-current-unsubscribe_at_freebsd.org"
Received on Thu Sep 23 2004 - 11:55:24 UTC

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