From owner-freebsd-fs@FreeBSD.ORG Sat Mar 9 01:41:41 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ED96C9D5; Sat, 9 Mar 2013 01:41:41 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 7254237F; Sat, 9 Mar 2013 01:41:41 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.6/8.14.6) with ESMTP id r291feQT091412; Fri, 8 Mar 2013 18:41:40 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.6/8.14.6/Submit) with ESMTP id r291few6091409; Fri, 8 Mar 2013 18:41:40 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 8 Mar 2013 18:41:40 -0700 (MST) From: Warren Block To: Chris Rees Subject: Re: Argument list too long In-Reply-To: Message-ID: References: <82112.1362671436.13776555968178880512@ffe17.ukr.net> <20130307161546.GV47829@e-new.0x20.net> <20130308190917.GA34838@lor.one-eyed-alien.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Fri, 08 Mar 2013 18:41:40 -0700 (MST) Cc: freebsd-fs@freebsd.org, Brooks Davis X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Mar 2013 01:41:42 -0000 On Fri, 8 Mar 2013, Chris Rees wrote: > > For fun, after running each of these several times to preload cache: > > > > find /usr/ports -type f -print0 | xargs -0 grep -H "X-PHP-Script" > > 40.98 seconds (average) > > > > find /usr/ports -type f -exec grep -H "X-PHP-Script" {} \+ > > 42.27 seconds (average) > > > > So they aren't too different in performance. > > The \+ form I have also found impossible to achieve in csh, which is why I never recommend it. Do you mean in scripted form? It works in interactive csh, that's what I used for this test.