mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-22 20:57:53 +00:00
parallel: --joblog for --(n)onall
This commit is contained in:
parent
76c477d94d
commit
f0540d5c23
|
@ -115,6 +115,7 @@ if($::opt_nonall or $::opt_onall) {
|
|||
join(" ",
|
||||
((defined $::opt_u) ? "-u" : ""),
|
||||
((defined $::opt_group) ? "-g" : ""),
|
||||
((defined $::opt_joblog) ? "--joblog $::opt_joblog" : ""),
|
||||
((defined $::opt_colsep) ? "--colsep ".shell_quote($::opt_colsep) : ""),
|
||||
((defined @::opt_v) ? "-vv" : ""),
|
||||
((defined $::opt_D) ? "-D" : ""),
|
||||
|
|
|
@ -148,7 +148,7 @@ Wait for all commands to complete.
|
|||
Run one gzip process per CPU core. Block until a CPU core becomes
|
||||
available.
|
||||
|
||||
for i in `ls *.log` ; do
|
||||
for i in *.log ; do
|
||||
echo $i
|
||||
sem -j+0 gzip $i ";" echo done
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue