Is it possible to use gnu-parallel to run multiple commands which all read from stdin?
For example:
echo 'hello world' | parallel --keep-order --tagstring 'Part {=$_=uc($_)=}:' --pipe "cat" ::: {a,b}
I would like to see:
Part A: hello world
Part B: hello world
as output. However, I only see:
Part A: hello world
I’ve also tried:
echo 'hello world' | parallel --keep-order --tagstring 'Part {=$_=uc($_)=}:' --pipe --fifo 'cat < {}' ::: {a,b}
but the output is also wrong
What am I missing?