1 |
yes, i use the '-x' option, and i can see the expansion now. and i |
2 |
found there are too many quotes. |
3 |
|
4 |
i tried curl_opts=-x "", does not work. |
5 |
|
6 |
|
7 |
On Mon, May 9, 2011 at 3:52 PM, Kfir Lavi <lavi.kfir@×××××.com> wrote: |
8 |
> |
9 |
> |
10 |
> On Mon, May 9, 2011 at 9:43 AM, Nils Andresen <nils@×××××××××××××.de> wrote: |
11 |
>> |
12 |
>> Hi, |
13 |
>> have you tried "/bin/bash -x your.script.sh" - see what get's expanded ? |
14 |
>> |
15 |
>> Nils |
16 |
>> |
17 |
>> 2011/5/9 Xi Shen <davidshen84@××××××××××.com> |
18 |
>>> |
19 |
>>> I guess there's something wrong with the argument expansion. Just do |
20 |
>>> not know how to fix it. Please help. |
21 |
>>> |
22 |
> You need to change: |
23 |
> - curl_opts="-x ''" |
24 |
> + curl_opts=-x "" |
25 |
> |
26 |
> Run your program with bash -x as Nils said, and you will see the expansion. |
27 |
> |
28 |
> Kfir |
29 |
> |
30 |
|
31 |
|
32 |
|
33 |
-- |
34 |
Best Regards, |
35 |
Xi Shen (David) |
36 |
|
37 |
http://twitter.com/davidshen84/ |