From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7570 invoked from network); 11 Nov 2007 23:32:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 11 Nov 2007 23:32:58 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 86508 invoked from network); 11 Nov 2007 23:32:52 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 11 Nov 2007 23:32:51 -0000 Received: (qmail 9300 invoked by alias); 11 Nov 2007 23:32:48 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24087 Received: (qmail 9283 invoked from network); 11 Nov 2007 23:32:47 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 11 Nov 2007 23:32:47 -0000 Received: (qmail 86133 invoked from network); 11 Nov 2007 23:32:47 -0000 Received: from an-out-0708.google.com (209.85.132.244) by a.mx.sunsite.dk with SMTP; 11 Nov 2007 23:32:42 -0000 Received: by an-out-0708.google.com with SMTP id b33so225181ana for ; Sun, 11 Nov 2007 15:32:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=YyIsT+E7UubKcbfloGg6p0kblrp5803MalfZ9L5++dE=; b=tbBuUsiRVdrEQQDTKrlUd1lMbUo5a2jLeCQ8kpkRlDA0eZ4HYgZlrIBv/9HSWTeJRSuJFylNuATUpu/7ahA6O42HKw2+ScNneQQWB4umOjmLundtpQ6zBRqwKua6fseACqE33oM6fZ0lAt6KlgSnTWJlJklFEbTJuxghQHIeTWk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=tQcc2132PVy8zIcfF4r8WU7+e5ct1hfT1clpUTzREh3pOm65hDSfpAt06fD/BiFIELIiLfa6GJxXMkW6jawjUqtun87u0hfZF7SNks8GFO1lZh8c8+GZ9WMmXXjk8HtNmY6dkkFs1LgHEJXzQIe8sqduC6P8SU373QE6SJfFplU= Received: by 10.114.94.1 with SMTP id r1mr241632wab.1194823956793; Sun, 11 Nov 2007 15:32:36 -0800 (PST) Received: by 10.114.196.16 with HTTP; Sun, 11 Nov 2007 15:32:36 -0800 (PST) Message-ID: Date: Mon, 12 Nov 2007 00:32:36 +0100 From: "Nikolai Weibull" Sender: nikolai.weibull@gmail.com To: zsh-workers Subject: Re: Bug in parameter expansion code? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: d758fb745dc9ddbc On Nov 12, 2007 12:19 AM, Nikolai Weibull wrote: > % echo ${(l:$(( $#2 + ${1:-1} * 3 ))::x:)} > zsh: closing brace expected > zsh: parse error in command substitution Sorry, my braindamage, not Zsh's (I'm using ':' as the delimiter for the 'l' modifier, thus the ':' in ${1:-1} is seen as a delimiter, not part of the expansion of ${1}).