Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: On "the usual behaviour" of empty array elements
- X-seq: zsh-workers 30596
- From: Nikolai Weibull <now@xxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: On "the usual behaviour" of empty array elements
- Date: Sun, 5 Aug 2012 09:09:16 +0200
- Cc: zsh-workers@xxxxxxx
- 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==
- In-reply-to: <120707103722.ZM6248@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <120707103722.ZM6248@torch.brasslantern.com>
- Sender: nikolai.weibull@xxxxxxxxx
On Sat, Jul 7, 2012 at 7:37 PM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> 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’m guessing
there’s no way to remove this behavior?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author