yes, you are right. + curl_opts='-x '\'''\'''
the "-x ''" expands to too many quotes. I tried to replace the double-quotes to single-quotes, but still not working. any idea how to fix this? On Mon, May 9, 2011 at 2:43 PM, Nils Andresen <[email protected]> wrote: > Hi, > have you tried "/bin/bash -x your.script.sh" - see what get's expanded ? > > Nils > > 2011/5/9 Xi Shen <[email protected]> >> >> 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/

