From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PIr8s-0004d0-0D for garchives@archives.gentoo.org; Wed, 17 Nov 2010 23:10:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B653FE0741; Wed, 17 Nov 2010 23:09:42 +0000 (UTC) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 79AB0E0741 for ; Wed, 17 Nov 2010 23:09:42 +0000 (UTC) Received: by eyb6 with SMTP id 6so1855836eyb.40 for ; Wed, 17 Nov 2010 15:09:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=eL+ewyo4/5rHPuYHmrIaV4SLwQvgG8A7lq8J+3JYyfY=; b=Uh7zdvzeWGsqR4zhWpCyTK+2wSmp9ZD4rewfV7ruy5b1QAhrKbDlsD+bYNVteDYOva fohFjpOj7uHg9FjOm6h+SJe2EnTi1n8YCNFRNXN4zk18kDe83S8qrpAAz2uRWtpSwwgk W7k7SkgNDcvEQbLbmvnmakIuMzrgxI1pyvIsQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=MaMfdAGf7d/veH1L7DXaEQzsEQve6+4CQ7tmm+KfPCQq8SiIMF7WmHz+h8J9hE6WCt EOUNjF4XGNpDs4F935T4g2xKhd2TeFwSQP6OUwb/+U1r1WtvIIqbK07HIPY8HLoufM/7 tPbwpwbN8FbzEu+k9ok1CPog5q4wYc2odtz08= Received: by 10.14.47.78 with SMTP id s54mr7325481eeb.21.1290035381879; Wed, 17 Nov 2010 15:09:41 -0800 (PST) Received: from nazgul.localnet (196-210-238-14.dynamic.isadsl.co.za [196.210.238.14]) by mx.google.com with ESMTPS id x54sm2741885eeh.23.2010.11.17.15.09.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Nov 2010 15:09:40 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Crufted with perl modules? Date: Thu, 18 Nov 2010 01:10:08 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.36-ck; KDE/4.5.3; x86_64; ; ) References: <201011180059.28992.alan.mckinnon@gmail.com> In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201011180110.09053.alan.mckinnon@gmail.com> X-Archives-Salt: 75d194fc-6ddd-46bd-a449-3a6c1f108487 X-Archives-Hash: 3cb559309734b4b784eef247b6ff5262 Apparently, though unproven, at 01:03 on Thursday 18 November 2010, Adam Carter did opine thusly: > > > find /patch -name something -exec -ls -lS + > > > which runs ls -lS once against all the files that find finds (added as > > > additional arguments), and therefore Sort works. > > > > Almost right. > > > > -exec + will not append all filenames found and run one command, > > > > it will append the maximum number of filenames that do not exceed the > > shell command line limit, and do that enough times to get through all > > the filenames. > > Thanks for that Alan. I wasnt 100% sure I understood the man page, and that > issue could definitely bite if you weren't aware! It bit me many times :-) If you know about it already, the man page of course makes perfect sense. Such a pity it's not totally clear to those who don;t know about it already. -- alan dot mckinnon at gmail dot com