2009-06-07 21:29:42 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2012-05-05 22:02:08 +00:00
|
|
|
cat <<'EOF' | parallel -j0 -vk
|
2012-12-28 20:30:30 +00:00
|
|
|
echo '### bug #36595: silent loss of input with --pipe and --sshlogin'
|
|
|
|
seq 10000 | xargs | parallel --pipe -S 10/localhost cat | wc
|
2011-07-20 23:58:23 +00:00
|
|
|
|
2012-12-28 20:30:30 +00:00
|
|
|
echo 'bug #36707: --controlmaster eats jobs'
|
|
|
|
seq 2 | parallel -k --controlmaster --sshlogin localhost echo OK{}
|
2013-02-02 21:20:36 +00:00
|
|
|
|
|
|
|
echo '### -L -n with pipe'
|
|
|
|
seq 14 | parallel --pipe -k -L 3 -n 2 'cat;echo 6 Ln line record'
|
|
|
|
|
|
|
|
echo '### -L -N with pipe'
|
|
|
|
seq 14 | parallel --pipe -k -L 3 -N 2 'cat;echo 6 LN line record'
|
|
|
|
|
|
|
|
echo '### -l -N with pipe'
|
|
|
|
seq 14 | parallel --pipe -k -l 3 -N 2 'cat;echo 6 lN line record'
|
|
|
|
|
|
|
|
echo '### -l -n with pipe'
|
|
|
|
seq 14 | parallel --pipe -k -l 3 -n 2 'cat;echo 6 ln line record'
|
|
|
|
|
|
|
|
|
2011-07-20 23:58:23 +00:00
|
|
|
EOF
|