If I understand parallel correctly, I expect the following two
commands to give identical results:

cat <<HERE | sh
echo foo
echo bar
echo baz
HERE

cat <<HERE | parallel ::: foo bar baz
echo {}
HERE

while using version 20110822 the first produces "foo\nbar\nbaz" as
expected while the second emits bash errors.

cat <<HERE | parallel --dry-run ::: foo bar baz
echo {}
HERE

shows commands like

nice -n10 bash -c foo
nice -n10 bash -c bar
nice -n10 bash -c baz

on my system (where I always enable niceness in my rc file).

Am I misunderstanding the behavior of piped input commands?

Thanks,
Rhys

Reply via email to