parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible Bug In Quote Processing? (gnuparallel: message 15 of 20)


From: Larry Ploetz
Subject: Re: Possible Bug In Quote Processing? (gnuparallel: message 15 of 20)
Date: Sun, 5 Jun 2022 10:50:30 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

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 - ole@tange.dk wrote:
On Tue, May 31, 2022 at 1:12 AM Larry Ploetz <lploetz.sg@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

[Prev in Thread] Current Thread [Next in Thread]