No, that makes perfect sense, in retrospect, especially the vertical bar character being interpreted as a pipe or as an alternation character.

ยท Larry

On 2022-06-05 08:00 :54, Ole Tange - o...@tange.dk wrote:
On Tue, May 31, 2022 at 1:12 AM Larry Ploetz<lploetz...@gmail.com>  wrote:
I would think these should all produce the same output

$ parallel echo "{}" \| cat -nvet ::: VAR
      1  VAR$
$ parallel -q echo "{}" \| cat -nvet ::: VAR
VAR | cat -nvet
$ parallel echo {} \| cat -nvet ::: VAR
      1  VAR$
$ parallel -q echo {} \| cat -nvet ::: VAR
VAR | cat -nvet
It is by design. Read:
https://www.gnu.org/software/parallel/parallel_design.html#always-running-commands-in-a-shell

If it is still unclear, please write again, because then I need to
improve the explanation.


/Ole

Reply via email to