1 |
It is not specific to Gentoo. But do not know where to search or post it :) |
2 |
|
3 |
My script looks like: |
4 |
|
5 |
url="http://mypage" |
6 |
curl_opts="-x ''" |
7 |
curl $url -d \"mydata\" $curl_opts |
8 |
|
9 |
If I execute it, I got an error from curl, saying it cannot resolve |
10 |
the proxy ''. |
11 |
|
12 |
But If I modify the script to: |
13 |
|
14 |
url="http://mypage" |
15 |
curl $url -d \"mydata\" -x '' |
16 |
|
17 |
It works fine. |
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 |
|
23 |
-- |
24 |
Best Regards, |
25 |
Xi Shen (David) |
26 |
|
27 |
http://twitter.com/davidshen84/ |