[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Parallel is having trouble handling quotes for unicode characters
From: |
Glen Huang |
Subject: |
Parallel is having trouble handling quotes for unicode characters |
Date: |
Thu, 25 May 2017 12:46:42 +0800 |
Hi,
Parallel is having trouble handling quotes for me. If I run
parallel echo \"'{}'\" ::: 你好 世界
I get \?\?\?\?\?\? back.
My mental model for this cmd is that echo "你好" and echo "世界" would be pass to
the subshell, and it should print those characters without problem. But given
the maturity of this project, I guess I probably did something wrong. I wonder
how could I prevent the garbling of text? I'm using GNU parallel 20170222
I have to use quotes because my real use case involves something like this
export start="你好"
parallel -a file name=\"'${start} {}'\"';' curl -o /dev/null
\"'$url/$start/$name'\"
Any help is much appreciated.
Regards
Glen
- Parallel is having trouble handling quotes for unicode characters,
Glen Huang <=
- Re: Parallel is having trouble handling quotes for unicode characters, Ole Tange, 2017/05/25
- Re: Parallel is having trouble handling quotes for unicode characters, Glen Huang, 2017/05/25
- Re: Parallel is having trouble handling quotes for unicode characters, Ole Tange, 2017/05/27
- Re: Parallel is having trouble handling quotes for unicode characters, Glen Huang, 2017/05/28
- Re: Parallel is having trouble handling quotes for unicode characters, Glen Huang, 2017/05/28
- Re: Parallel is having trouble handling quotes for unicode characters, Glen Huang, 2017/05/28
- Re: Parallel is having trouble handling quotes for unicode characters, Glen Huang, 2017/05/28
- Re: Parallel is having trouble handling quotes for unicode characters, Ole Tange, 2017/05/30