From owner-freebsd-current@FreeBSD.ORG Thu Sep 23 19:46:13 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 B707516A4CE for ; Thu, 23 Sep 2004 19:46:13 +0000 (GMT) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [80.86.187.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6AF343D3F for ; Thu, 23 Sep 2004 19:46:12 +0000 (GMT) (envelope-from lehmann@ans-netz.de) Received: (qmail 70216 invoked from network); 23 Sep 2004 19:45:46 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (80.86.187.43) by avocado.salatschuessel.net with SMTP; 23 Sep 2004 19:45:46 -0000 Date: Thu, 23 Sep 2004 21:46:10 +0200 From: Oliver Lehmann To: Juha Saarinen Message-Id: <20040923214610.663c6ac0.lehmann@ans-netz.de> In-Reply-To: References: X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.10) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 19:46:13 -0000 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. And AIX has 24k ;) You may use a combination of ls|find+xargs for grepping many files... -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/