parallel
[Top][All Lists]
Advanced

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

Re: Possible Bug In Quote Processing?


From: Ole Tange
Subject: Re: Possible Bug In Quote Processing?
Date: Sun, 5 Jun 2022 17:00:54 +0200

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]