Re: Parallel is having trouble handling quotes for unicode characters

2017-05-28 Thread Glen Huang
Actually just 港 is able to trigger it parallel echo 港 ::: foo > On 28 May 2017, at 2:56 PM, Glen Huang wrote: > > I'm sorry, but I think I just found another strange case: > > parallel echo 芦港 ::: foo > > fails with "parallel: Error: Command cannot contain the character ?. Use a > function f

Re: Parallel is having trouble handling quotes for unicode characters

2017-05-28 Thread Glen Huang
I just realize one way to workaround it is to do something like parallel echo ::: 港 ::: foo Feel free to ignore the "issue" if you think it's by design. > On 28 May 2017, at 3:09 PM, Glen Huang wrote: > > Actually just 港 is able to trigger it > > parallel echo 港 ::: foo > >> On 28 May 2017,

Easy way to append a list of arguments

2017-05-28 Thread Glen Huang
Hi, I'm looking for a way to easily append a list of arguments to the ones from stdin { echo 1 2; echo 3 4; } | parallel -k echo - ::: a ::: b This gives 1 2 a b 3 4 a b as expected. But I'd like to do something like this foo() { { echo 1 2; echo 3 4; } | parallel -k echo