On Thu, May 25, 2017 at 6:46 AM, Glen Huang wrote:
> Parallel is having trouble handling quotes for me. If I run
>
> parallel echo \"'{}'\" ::: 你好 世界
>
> I get \?\?\?\?\?\? back.
Are you sure you do not get:
\�\�\�\�\�\�
\�\�\�\�\�\�
> My mental model for this cmd is that echo "你好" and echo "世
Thanks for the quick reply. Didn't realize {} is already quotes.
But if the solution is to not quote {}, how do I pass "${start} {}" as a single
argument to subshell?
For example,
parallel name=\"foo {}\"';' echo \"'$name'\" ::: 你好 世界
would garble the text,
but
parallel name=foo {}';' echo \