Re: Parallel is having trouble handling quotes for unicode characters

2017-05-25 Thread Ole Tange
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 "世

Re: Parallel is having trouble handling quotes for unicode characters

2017-05-25 Thread Glen Huang
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 \