Could ARG_MAX be increased?

Putinas Piliponis Putinas.Piliponis at
Thu Sep 23 06:55:25 PDT 2004

but this is workaround - isn't it ? 

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

"Juha Saarinen" <juhasaarinen at> 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
freebsd-current at mailing list
To unsubscribe, send any mail to
"freebsd-current-unsubscribe at"

More information about the freebsd-current mailing list