parallel/unittest/tests-to-run/test08.sh
Ole Tange 9d593557ce Fixed:
echo a | parallel -qX echo  "'"{}"' "
Trailing \ in regex m/\'{}\'\/ at /home/tange/bin/parallel line 479, <STDIN> line 1.

echo a | parallel -qX echo  "'{}'"
<<infinite loop>>
2009-08-26 14:33:14 +02:00

13 lines
264 B
Bash

#!/bin/bash
cd input-files/test08
ls \
| parallel -q perl -ne '/_PRE (\d+)/ and $p=$1; /hatchname> (\d+)/ and $1!=$p and print $ARGV,"\n"' \
| sort
seq 1 10 | parallel -j 1 echo | sort
seq 1 10 | parallel -j 2 echo | sort
seq 1 10 | parallel -j 3 echo | sort