mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-25 07:27:55 +00:00
3fa2a4a8d4
Prepared for name change to 'par'
15 lines
262 B
Bash
15 lines
262 B
Bash
#!/bin/bash
|
|
|
|
PAR=parallel
|
|
|
|
cd input-files/test08
|
|
|
|
ls \
|
|
| $PAR -q perl -ne '/_PRE (\d+)/ and $p=$1; /hatchname> (\d+)/ and $1!=$p and print $ARGV,"\n"' \
|
|
| sort
|
|
|
|
seq 1 10 | $PAR -j 1 echo | sort
|
|
seq 1 10 | $PAR -j 2 echo | sort
|
|
seq 1 10 | $PAR -j 3 echo | sort
|
|
|