parallel
[Top][All Lists]
Advanced

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

Re: Parallel is having trouble handling quotes for unicode characters


From: Glen Huang
Subject: Re: Parallel is having trouble handling quotes for unicode characters
Date: Sun, 28 May 2017 13:03:39 +0800

Doh, of course. I must be drunk. :)

Now it's totally clear. Thanks!

Glen

> On 28 May 2017, at 12:59 AM, Ole Tange <ole@tange.dk> wrote:
> 
> On Fri, May 26, 2017 at 4:44 AM, Glen Huang <heyhgl@gmail.com> wrote:
>> 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?
> 
> You are going to say 'Doh, ofcourse' now.
> 
>> For example,
>> 
>> parallel name=\"foo {}\"';' echo \"'$name'\" ::: 你好 世界
>> 
>> would garble the text,
> 
> You simply move the {} outside:
> 
> parallel name=\"foo \"{}';' echo \"'$name'\" ::: 你好 世界
> 
> You still need the space to be quoted.
> 
>> And I did get \?\?\?\?\?\? back, as can be seen from this screenshot. I use
>> the terminal app on macOS.
> 
> What I meant was: You get two of them. Not just one.
> 
> 
> /Ole




reply via email to

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