mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 23:06:02 +02:00
xargs: added parallel proc flag -P (#2761)
This commit is contained in:
parent
f79f6011e0
commit
3c4d0d0ab1
1 changed files with 4 additions and 0 deletions
|
@ -14,3 +14,7 @@
|
|||
- Execute the command once for each input line, replacing any occurrences of the placeholder (here marked as `_`) with the input line:
|
||||
|
||||
`{{arguments_source}} | xargs -I _ {{command}} _ {{optional_extra_arguments}}`
|
||||
|
||||
- Parallel runs of up to `max-procs` processes at a time; the default is 1. If `max-procs` is 0, xargs will run as many processes as possible at a time:
|
||||
|
||||
`{{arguments_source}} | xargs -P {{max-procs}} {{command}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue