1 |
On Mon, May 9, 2011 at 12:00 PM, Xi Shen <davidshen84@××××××××××.com> wrote: |
2 |
|
3 |
> i tried that already. not working. i will try the stackoverflow.com. |
4 |
> thanks |
5 |
> |
6 |
> |
7 |
> On Mon, May 9, 2011 at 4:31 PM, Pandu Poluan <pandu@××××××.info> wrote: |
8 |
> > (Again, sorry for top-posting) |
9 |
> > |
10 |
> > BTW, there are lots of bash gurus in stackovervlow.com. My handle |
11 |
> > there is 'pepoluan'. |
12 |
> > |
13 |
> > Rgds, |
14 |
> > |
15 |
> > |
16 |
> > On 2011-05-09, Xi Shen <davidshen84@××××××××××.com> wrote: |
17 |
> >> It is not specific to Gentoo. But do not know where to search or post it |
18 |
> :) |
19 |
> >> |
20 |
> >> My script looks like: |
21 |
> >> |
22 |
> >> url="http://mypage" |
23 |
> >> curl_opts="-x ''" |
24 |
> >> curl $url -d \"mydata\" $curl_opts |
25 |
> >> |
26 |
> >> If I execute it, I got an error from curl, saying it cannot resolve |
27 |
> >> the proxy ''. |
28 |
> >> |
29 |
> >> But If I modify the script to: |
30 |
> >> |
31 |
> >> url="http://mypage" |
32 |
> >> curl $url -d \"mydata\" -x '' |
33 |
> >> |
34 |
> >> It works fine. |
35 |
> >> |
36 |
> >> I guess there's something wrong with the argument expansion. Just do |
37 |
> >> not know how to fix it. Please help. |
38 |
> >> |
39 |
> >> |
40 |
> >> -- |
41 |
> >> Best Regards, |
42 |
> >> Xi Shen (David) |
43 |
> >> |
44 |
> >> http://twitter.com/davidshen84/ |
45 |
> >> |
46 |
> >> |
47 |
> > |
48 |
> > |
49 |
> > -- |
50 |
> > -- |
51 |
> > Pandu E Poluan - IT Optimizer |
52 |
> > My website: http://pandu.poluan.info/ |
53 |
> > |
54 |
> > |
55 |
> |
56 |
> |
57 |
> |
58 |
> -- |
59 |
> Best Regards, |
60 |
> Xi Shen (David) |
61 |
> |
62 |
> http://twitter.com/davidshen84/ |
63 |
> |
64 |
> I have replied you before. |
65 |
What I have sent you is the solution to your problems. |
66 |
Try to run what I told you. |
67 |
I ran it successfully on my comp. |
68 |
curl_opts=-x "" |
69 |
|
70 |
Kfir |