From: Kfir Lavi <lavi.kfir@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [OT] bash script error
Date: Mon, 9 May 2011 12:25:03 +0300 [thread overview]
Message-ID: <BANLkTi=+sddEPgP+3vxE-=VsEhj3_HhH2Q@mail.gmail.com> (raw)
In-Reply-To: <BANLkTim1WAh7BQz8VceVtS851_5Mo3oeXA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1479 bytes --]
On Mon, May 9, 2011 at 12:00 PM, Xi Shen <davidshen84@googlemail.com> wrote:
> i tried that already. not working. i will try the stackoverflow.com.
> thanks
>
>
> On Mon, May 9, 2011 at 4:31 PM, Pandu Poluan <pandu@poluan.info> wrote:
> > (Again, sorry for top-posting)
> >
> > BTW, there are lots of bash gurus in stackovervlow.com. My handle
> > there is 'pepoluan'.
> >
> > Rgds,
> >
> >
> > On 2011-05-09, Xi Shen <davidshen84@googlemail.com> wrote:
> >> It is not specific to Gentoo. But do not know where to search or post it
> :)
> >>
> >> My script looks like:
> >>
> >> url="http://mypage"
> >> curl_opts="-x ''"
> >> curl $url -d \"mydata\" $curl_opts
> >>
> >> If I execute it, I got an error from curl, saying it cannot resolve
> >> the proxy ''.
> >>
> >> But If I modify the script to:
> >>
> >> url="http://mypage"
> >> curl $url -d \"mydata\" -x ''
> >>
> >> It works fine.
> >>
> >> I guess there's something wrong with the argument expansion. Just do
> >> not know how to fix it. Please help.
> >>
> >>
> >> --
> >> Best Regards,
> >> Xi Shen (David)
> >>
> >> http://twitter.com/davidshen84/
> >>
> >>
> >
> >
> > --
> > --
> > Pandu E Poluan - IT Optimizer
> > My website: http://pandu.poluan.info/
> >
> >
>
>
>
> --
> Best Regards,
> Xi Shen (David)
>
> http://twitter.com/davidshen84/
>
> I have replied you before.
What I have sent you is the solution to your problems.
Try to run what I told you.
I ran it successfully on my comp.
curl_opts=-x ""
Kfir
[-- Attachment #2: Type: text/html, Size: 2863 bytes --]
next prev parent reply other threads:[~2011-05-09 9:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-09 5:44 [gentoo-user] [OT] bash script error Xi Shen
2011-05-09 6:43 ` Nils Andresen
2011-05-09 7:48 ` Xi Shen
2011-05-09 7:52 ` Kfir Lavi
2011-05-09 8:14 ` Xi Shen
2011-05-09 8:23 ` Xi Shen
2011-05-09 8:30 ` Pandu Poluan
2011-05-09 8:31 ` Pandu Poluan
2011-05-09 9:00 ` Xi Shen
2011-05-09 9:25 ` Kfir Lavi [this message]
2011-05-09 10:36 ` Alex Schuster
2011-05-09 12:06 ` Kfir Lavi
2011-05-09 12:57 ` BRM
2011-05-09 14:16 ` Kevin McCarthy
2011-05-10 22:57 ` David Haller
-- strict thread matches above, loose matches on Subject: below --
2011-05-09 10:45 JDM
2011-05-10 22:30 ` David Haller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTi=+sddEPgP+3vxE-=VsEhj3_HhH2Q@mail.gmail.com' \
--to=lavi.kfir@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox