From owner-freebsd-current@FreeBSD.ORG Thu Sep 23 21:10:02 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 3BDD916A4CE for ; Thu, 23 Sep 2004 21:10:02 +0000 (GMT) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FE7543D49 for ; Thu, 23 Sep 2004 21:10:02 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 24741 invoked from network); 23 Sep 2004 21:10:01 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail3.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 23 Sep 2004 21:10:01 -0000 Received: from hydrogen.funkthat.com (netwva@localhost.funkthat.com [127.0.0.1])i8NL9xuU036730; Thu, 23 Sep 2004 14:10:01 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id i8NL9xis036729; Thu, 23 Sep 2004 14:09:59 -0700 (PDT) Date: Thu, 23 Sep 2004 14:09:59 -0700 From: John-Mark Gurney To: Juha Saarinen Message-ID: <20040923210959.GJ72089@funkthat.com> Mail-Followup-To: Juha Saarinen , freebsd-current@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html 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 Reply-To: John-Mark Gurney 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 21:10:02 -0000 Juha Saarinen wrote this message on Thu, Sep 23, 2004 at 23:45 +1200: > 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. As others have pointed out, find + xargs is good, but find -print0 + xargs -0 is even better.. :) -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."