Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: On "the usual behaviour" of empty array elements



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