mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-23 21:27:53 +00:00
10 lines
290 B
Bash
10 lines
290 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
echo '### Test id = --id `tty`'
|
||
|
parallel --id `tty` -u --semaphore seq 1 10 '|' pv -qL 20
|
||
|
echo '### Test default id = --id `tty`'
|
||
|
parallel -u --semaphore seq 11 20 '|' pv -qL 100
|
||
|
echo '### Test --semaphorename `tty`'
|
||
|
parallel --semaphorename `tty` --semaphore --wait
|
||
|
echo done
|