parallel
[Top][All Lists]
Advanced

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

Possible Bug In Quote Processing?


From: Larry Ploetz
Subject: Possible Bug In Quote Processing?
Date: Mon, 30 May 2022 16:10:40 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

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

I could be wrong, of course. But it seems like the ‘-q’ option is being too greedy. Or the pipe is being interpreted as a quoted string, which may be intentional.

Thanks,
· Larry


reply via email to

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