From: Stroller <stroller@stellar.eclipse.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Crufted with perl modules?
Date: Wed, 17 Nov 2010 14:09:46 +0000 [thread overview]
Message-ID: <CAA773A3-8338-47C9-B9F4-FAEA8D9A3CC1@stellar.eclipse.co.uk> (raw)
In-Reply-To: <4CE3D500.1010105@darkmetatron.de>
On 17/11/2010, at 1:13pm, Sebastian Beßler wrote:
>>>> This is why find -exec + exists since 20 years.
>>>
>>> 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.
>>
>> Which man page are you looking at? It's in my find man page at least.
>
> man find
>
> Aktionen
> -exec Kommando;
> führt 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ür 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üssen in der Kommandozeile für find quotiert werden, damit sie nicht von der Shell bearbeitet werden
>
> There is only one -exec option explained, no + to see.
> The only option with a + in my manpage is -perm +Modus
>
> 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 {} +
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‐
tions of the command will be much less than the number of
matched files. The command line is built in much the same way
that xargs builds its command lines. Only one instance of `{}'
is allowed within the command. The command is executed in the
starting directory.
Stroller.
next prev parent reply other threads:[~2010-11-17 14:10 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-17 0:58 [gentoo-user] Crufted with perl modules? Grant
2010-11-17 1:21 ` Adam Carter
2010-11-17 1:42 ` Grant
2010-11-17 2:03 ` Willie Wong
2010-11-17 3:18 ` Grant
2010-11-17 9:10 ` Neil Bothwick
2010-11-17 9:19 ` Joerg Schilling
2010-11-17 12:52 ` Sebastian Beßler
2010-11-17 12:54 ` Albert Hopkins
2010-11-17 13:13 ` Sebastian Beßler
2010-11-17 14:09 ` Albert Hopkins
2010-11-17 14:09 ` Stroller [this message]
2010-11-17 22:14 ` John Campbell
2010-11-17 22:21 ` Sebastian Beßler
2010-11-17 22:49 ` Adam Carter
2010-11-17 22:59 ` Alan McKinnon
2010-11-17 23:03 ` Adam Carter
2010-11-17 23:10 ` Alan McKinnon
2010-11-17 14:15 ` Stroller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAA773A3-8338-47C9-B9F4-FAEA8D9A3CC1@stellar.eclipse.co.uk \
--to=stroller@stellar.eclipse.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox