(Forgive my top-posting)

try:

curl_opts="-x \'\'"

Rgds,


On 2011-05-09, Xi Shen <davidshe...@googlemail.com> wrote:
> yes, i use the '-x' option, and i can see the expansion now. and i
> found there are too many quotes.
>
> i tried curl_opts=-x "", does not work.
>
>
> On Mon, May 9, 2011 at 3:52 PM, Kfir Lavi <lavi.k...@gmail.com> wrote:
>>
>>
>> On Mon, May 9, 2011 at 9:43 AM, Nils Andresen <n...@nils-andresen.de>
>> wrote:
>>>
>>> Hi,
>>> have you tried "/bin/bash -x your.script.sh" - see what get's expanded ?
>>>
>>> Nils
>>>
>>> 2011/5/9 Xi Shen <davidshe...@googlemail.com>
>>>>
>>>> I guess there's something wrong with the argument expansion. Just do
>>>> not know how to fix it. Please help.
>>>>
>> You need to change:
>> - curl_opts="-x ''"
>> + curl_opts=-x ""
>>
>> Run your program with bash -x as Nils said, and you will see the
>> expansion.
>>
>> Kfir
>>
>
>
>
> --
> Best Regards,
> Xi Shen (David)
>
> http://twitter.com/davidshen84/
>
>


-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/

Reply via email to