From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QJLEG-0007k1-8u for garchives@archives.gentoo.org; Mon, 09 May 2011 07:50:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F84BE01DC; Mon, 9 May 2011 07:48:18 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id BF7DFE01DC for ; Mon, 9 May 2011 07:48:17 +0000 (UTC) Received: by bwg12 with SMTP id 12so5569399bwg.40 for ; Mon, 09 May 2011 00:48:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=mfvLHmGmYlwRteUPY/EiMb2iCZdwsWQammBEqLeqDGo=; b=BHqCVJihBBj1SCw6cDL1NFE/zTYMuiiWsn3dibNY1HRWK0XvNF8OcNH/Wzo/0sceRs olSYY77Vk3EqYzsVHXCXfVAhpd/JdHivMdi5K9/baXs/DTuHa6oin+d1QWiFUXLqhzf7 fTyyz0LX5mgatowQ/Ze4JfEDWKWtX81el61iM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=IjV7w7nT4gqw8sHg1nvcub/Q/zcctJtufpFFtBIjUInvT0aYL/yECziGcV5/FeaMzo UE/ARaCsAxAXLvdj5SGAqvOUYh8ShJ4BYpTd1UB5FtDu2T9ExRb/22YCZV/7hQ4LekyM oHn5IWWPvyJex+71Ff8VUaPoDp1m2IugwsLQ4= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.36.7 with SMTP id r7mr4245043bkd.2.1304927296562; Mon, 09 May 2011 00:48:16 -0700 (PDT) Received: by 10.204.64.140 with HTTP; Mon, 9 May 2011 00:48:16 -0700 (PDT) In-Reply-To: References: Date: Mon, 9 May 2011 15:48:16 +0800 Message-ID: Subject: Re: [gentoo-user] [OT] bash script error From: Xi Shen To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: X-Archives-Hash: cb340161e94ab3e625ef0f034086ccf5 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 wrote: > Hi, > have you tried "/bin/bash -x your.script.sh" - see what get's expanded ? > > Nils > > 2011/5/9 Xi Shen >> >> 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/