From owner-freebsd-current@FreeBSD.ORG Thu Sep 23 14:05:55 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B40216A4CE for ; Thu, 23 Sep 2004 14:05:55 +0000 (GMT) Received: from speicher.org (speicher.org [208.199.76.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 944CB43D39 for ; Thu, 23 Sep 2004 14:05:54 +0000 (GMT) (envelope-from geoff@speicher.org) Received: from speicher.org (localhost [127.0.0.1]) by speicher.org (8.13.1/8.13.1) with ESMTP id i8NE5lT6005253; Thu, 23 Sep 2004 10:05:47 -0400 (EDT) (envelope-from geoff@speicher.org) Received: (from geoff@localhost) by speicher.org (8.13.1/8.13.1/Submit) id i8NE5lM6005252; Thu, 23 Sep 2004 10:05:47 -0400 (EDT) (envelope-from geoff) Date: Thu, 23 Sep 2004 10:05:47 -0400 From: Geoff Speicher To: Putinas Piliponis Message-ID: <20040923140547.GA3884@sirius.speicher.org> References: <217202CB5FF8AE439E263CE3D48ECB50686C37@honda.int.hansa.lt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <217202CB5FF8AE439E263CE3D48ECB50686C37@honda.int.hansa.lt> User-Agent: Mutt/1.4.2.1i cc: Cyrille Lefevre cc: Juha Saarinen cc: freebsd-current@freebsd.org Subject: Re: Could ARG_MAX be increased? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 14:05:55 -0000 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" 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"