From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13041 invoked by alias); 5 Aug 2012 07:09:22 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30596 Received: (qmail 1330 invoked from network); 5 Aug 2012 07:09:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.160.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=V4qmm4zdgQXQOB1sjEKXg+1OYriFcGBzPFYZfLPfmcY=; b=yMLHy+2B+p8j+l5+seIGI44vaWcSVR5/GlQDKF0Npi8S+7P261fU56mBKWY00IrzC7 +Io5wm2/28xjOeC7tHbbz1qC+ihbuFhHE5Da69mEDm057ze80gXui9sjoB8eNhkfix/1 jMbVOSFr1EuAm/ht/Nt1ROxl4uVoo6/5pYquq1AAXbea+kGXZl5CYYiYt/u6z7+pzA9X eajebToz5QL2WSJmkF842y6qI239fQcUiPs4eIKatHD2uGtI2LhlV1q/AbVt6YMkV3zL LV5uK7kkArwc72FZHh5mR8QQn9wRog9sIiLTXz5qz+ls8yhpiv8xxxasI9hn/Itgn2NL Fpuw== MIME-Version: 1.0 Sender: nikolai.weibull@gmail.com In-Reply-To: <120707103722.ZM6248@torch.brasslantern.com> References: <120707103722.ZM6248@torch.brasslantern.com> Date: Sun, 5 Aug 2012 09:09:16 +0200 X-Google-Sender-Auth: JjQt_cI9pAQowvbzwgROQvIMw4Q Message-ID: Subject: Re: On "the usual behaviour" of empty array elements From: Nikolai Weibull To: Bart Schaefer Cc: zsh-workers@zsh.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, Jul 7, 2012 at 7:37 PM, Bart Schaefer w= rote: > Far more interesting than the retention of empty array elements in double > quotes, I think, is that empty array elements are NOT retained when the > array parameter reference is NOT in quotes. (This is intended to mimic > one useful effect of word splitting without bringing in all the other > effects.) This behavior has really surprised me in the past. I=E2=80=99m guessing there=E2=80=99s no way to remove this behavior?