mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-23 13:17:54 +00:00
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
### Test of -j filename
|
|
Usage:
|
|
parallel [options] [command [arguments]] < list_of_arguments
|
|
parallel [options] [command [arguments]] (::: arguments|:::: argfile(s))...
|
|
cat ... | parallel --pipe [options] [command [arguments]]
|
|
|
|
-j n Run n jobs in parallel
|
|
-k Keep same order
|
|
-X Multiple arguments with context replace
|
|
--colsep regexp Split input on regexp for positional replacements
|
|
{} {.} {/} {/.} {#} Replacement strings
|
|
{3} {3.} {3/} {3/.} Positional replacement strings
|
|
|
|
-S sshlogin Example: foo@server.example.com
|
|
--trc {}.bar Shorthand for --transfer --return {}.bar --cleanup
|
|
--onall Run the given command with argument on all sshlogins
|
|
--nonall Run the given command with no arguments on all sshlogins
|
|
|
|
--pipe Split stdin (standard input) to multiple jobs.
|
|
--recend str Record end separator for --pipe.
|
|
--recstart str Record start separator for --pipe.
|
|
|
|
See 'man parallel' for details
|
|
Parsing of --jobs/-j/--max-procs/-P failed
|
|
### Test of -j filename
|
|
sleep 0.7
|
|
sleep 0.8
|
|
sleep 0.9
|
|
sleep 0.4
|
|
sleep 0.6
|
|
### Test of -j filename with file content changing
|
|
sleep 3.3
|
|
sleep 1
|
|
sleep 1
|
|
sleep 1
|
|
sleep 1
|
|
sleep 1
|
|
sleep 1
|
|
sleep 1.1
|
|
sleep 1.2
|
|
sleep 1.3
|
|
sleep 1.4
|
|
sleep 1
|
|
sleep 1
|
|
sleep 1
|
|
sleep 1
|
|
sleep 1
|