Skip to content
Myr

Add description of multiple --exec to man page

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Thayne McCombs · committed by David Peter · parent f27332e · Browse files · 1 file+6 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−0 removed

  • other:+6 added−0 removed

1 file+6 added−0 removed

modified:doc/fd.1+6 added
339 unmodified lines
340- not to fd.341It is therefore recommended to place the \-x/\-\-exec option last. Alternatively, you can supply342a ';' argument to end the argument list and continue with more fd options.343Most shells require ';' to be escaped: '\\;'.344This option can be specified multiple times, in which case all commands are run for each345file found, in the order they are provided. In that case, you must supply a ';' argument for346all but the last commands.347348The following placeholders are substituted before the command is executed:349.RS350.IP {}
45 unmodified lines
396.RE397398If no placeholder is present, an implicit "{}" at the end is assumed.399400Like \-\-exec, this can be used multiple times, in which case each command will be run in401the order given.402403Examples:404405 - Find all test_*.py files and open them in your favorite editor:406
58 unmodified lines