Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2004 15:46:34 +0200
From:      "Cyrille Lefevre" <clefevr-current@9online.fr>
To:        "Juha Saarinen" <juhasaarinen@gmail.com>, <freebsd-current@freebsd.org>
Subject:   Re: Could ARG_MAX be increased?
Message-ID:  <000001c4a174$0545df40$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: <http://docs.FreeBSD.org/cgi/mid.cgi?000001c4a174$0545df40$7890a8c0>