From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6335 invoked from network); 25 Aug 2008 00:40:37 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) 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.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 25 Aug 2008 00:40:37 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 68527 invoked from network); 25 Aug 2008 00:40:27 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 25 Aug 2008 00:40:27 -0000 Received: (qmail 3392 invoked by alias); 25 Aug 2008 00:40:17 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25528 Received: (qmail 3364 invoked from network); 25 Aug 2008 00:40:13 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 25 Aug 2008 00:40:13 -0000 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by bifrost.dotsrc.org (Postfix) with ESMTP id 8AD10801E2B4 for ; Mon, 25 Aug 2008 02:40:10 +0200 (CEST) Received: by nf-out-0910.google.com with SMTP id g13so1072859nfb.11 for ; Sun, 24 Aug 2008 17:40:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=wmTmPGvJUkuHjjErxuyU2LbSc1jJtMPwsZ0gL4XUByE=; b=FcRPahyiRv3jW+g+jF4gIlNUNkDz91YRzihpI/j3SlB1JDkL3gcODxit+18WB39Vyt UCR2OPKh1iEJTdYuRKZOzddSHxzdA4HVBgEAc9X2XGq8Q0R6DfmubSa6VmEm/QgM/jN0 QqryiVjGXEDSVWqfB5MzIUnqxP9u6Fj6W0wk4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=wu2hpZffIpTVulIxwm/HTl9ixcKZ7o2CcWIzPenUx12GhbvWzzmXYDWoZEuuRMYIGJ Glv5B5xNWC9+UyGt1b8Giwm+xNBbCRiT0ZlsTA1sb/MuTZS0I9ThW2+YMjPYOjumKlXe gawdAIYKSdoYKXCdoRDtUyKPW6ewvD8R1btGM= Received: by 10.210.28.4 with SMTP id b4mr5714705ebb.138.1219624810207; Sun, 24 Aug 2008 17:40:10 -0700 (PDT) Received: by 10.210.19.20 with HTTP; Sun, 24 Aug 2008 17:40:10 -0700 (PDT) Message-ID: <237967ef0808241740m2e3a3103x77f9c44432b1941c@mail.gmail.com> Date: Mon, 25 Aug 2008 02:40:10 +0200 From: "Mikael Magnusson" To: "Zsh hackers list" Subject: Re: Weird error message when using bash or ksh form of array initialization In-Reply-To: <6cd6de210808241712o2c6d4af3k2dcdf0b7721f79fe@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6cd6de210808240905s40c8c86ch4766b711e87ffde5@mail.gmail.com> <080824133218.ZM16802@torch.brasslantern.com> <6cd6de210808241712o2c6d4af3k2dcdf0b7721f79fe@mail.gmail.com> X-Virus-Scanned: ClamAV 0.92.1/8082/Sun Aug 24 18:40:03 2008 on bifrost X-Virus-Status: Clean 2008/8/25 Rocky Bernstein : > Thanks folks for the explanation of what's happening. > > I realize that. And IMHO I think it should support it when bash or ksh > emulation is in force ;-). But more troublesome is the fact that it gives > an error message that is probably going to be a bit puzzling to most > people who know ksh and bash, but zsh less so. Just wanted to point out there's no such thing as "bash emulation" in zsh. :) (and of course, sh doesn't support arrays at all (IIRC)). -- Mikael Magnusson