Execute a piped command in parallel
echo '#!/bin/bash
read input
echo input=$input
echo argument 1:$1' > test.sh
chmod +x test.sh
parallel 'yes n|./test.sh {1} ' ::: a b c
#> input=n
#> argument 1:a
#> input=n
#> argument 1:b
#> input=n
#> argument 1:c