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 1PIiiE-00056r-GC for garchives@archives.gentoo.org; Wed, 17 Nov 2010 14:10:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFBE3E0972; Wed, 17 Nov 2010 14:09:48 +0000 (UTC) Received: from smtpout.karoo.kcom.com (smtpout.karoo.kcom.com [212.50.160.34]) by pigeon.gentoo.org (Postfix) with ESMTP id 6D776E0972 for ; Wed, 17 Nov 2010 14:09:48 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.59,211,1288569600"; d="scan'208";a="239118647" Received: from 213-152-39-90.dsl.eclipse.net.uk (HELO compaq.stroller.uk.eu.org) ([213.152.39.90]) by smtpout.karoo.kcom.com with ESMTP; 17 Nov 2010 14:09:47 +0000 Received: from [192.168.1.101] (unknown [192.168.1.101]) by compaq.stroller.uk.eu.org (Postfix) with ESMTP id 4B179125E9 for ; Wed, 17 Nov 2010 14:09:45 +0000 (GMT) Content-Type: text/plain; charset=utf-8 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 (Apple Message framework v1081) Subject: Re: [gentoo-user] Crufted with perl modules? From: Stroller In-Reply-To: <4CE3D500.1010105@darkmetatron.de> Date: Wed, 17 Nov 2010 14:09:46 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20101117020359.GA9235@math.princeton.edu> <4ce39e24.HypTlXXw8UackkUN%Joerg.Schilling@fokus.fraunhofer.de> <4CE3CFF6.5090602@darkmetatron.de> <1289998487.3062.0.camel@WOPR> <4CE3D500.1010105@darkmetatron.de> To: gentoo-user@lists.gentoo.org X-Mailer: Apple Mail (2.1081) X-Archives-Salt: 52a48251-c603-462c-a3d9-966233ae72eb X-Archives-Hash: e2f009381edd95fc0144353bf6c434e5 On 17/11/2010, at 1:13pm, Sebastian Be=C3=9Fler wrote: >>>> This is why find -exec + exists since 20 years. >>>=20 >>> Could you enlighten me about this? >>> I look into man find but it says nothing about -exec + or a + = operator >>> at all. Also adding + to the command doesn't work either. >>=20 >> Which man page are you looking at? It's in my find man page at = least. >=20 > man find >=20 > Aktionen > -exec Kommando; > f=C3=BChrt das Kommando aus; die Aktion ist wahr, wenn das Kommando = einen Status von Null liefert; alle auf den Kommandonamen folgenden = Argumente bis zu einem Semikolon ; werden als Kommandozeilenargumente = f=C3=BCr das Kommando interpretiert; das Semikolon kann nicht = weggelassen werden, und es muss durch mindestens ein Whitespace von der = letzten Option getrennt werden; die Konstruktion {} wird durch den = Pfadnamen der Datei ersetzt; die Klammern und das Semikolon m=C3=BCssen = in der Kommandozeile f=C3=BCr find quotiert werden, damit sie nicht von = der Shell bearbeitet werden >=20 > There is only one -exec option explained, no + to see. > The only option with a + in my manpage is -perm +Modus >=20 > No I have not tried the english version, I thought that a option that = exists for 20 years should be in translated manpages too. -exec command {} + = =20 This variant of the -exec action runs the specified = command on the selected files, but the command line is built by = appending each selected file name at the end; the total number of = invoca=E2=80=90 tions of the command will be much less than the = number of matched files. The command line is built in much the = same way =20 that xargs builds its command lines. Only one instance of = `{}' is allowed within the command. The command is executed = in the starting directory. =20 Stroller.=