Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2004 15:46:26 +0200
From:      "Cyrille Lefevre" <root@gits.dyndns.org>
To:        "Juha Saarinen" <juhasaarinen@gmail.com>, <freebsd-current@freebsd.org>
Subject:   Re: Could ARG_MAX be increased?
Message-ID:  <009301c4a173$d468de90$7890a8c0@gits.invalid>
References:  <b34be84204092304456066b0a0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009301c4a173$d468de90$7890a8c0>