gnu.bash.bug
[Top] [All Lists]

Re: removing null elements from an array

Subject: Re: removing null elements from an array
From: Poor Yorick <org.gnu.lists.bug-bash@xxxxxxxxxxxxxx>
Date: Fri, 18 Jul 2008 08:52:47 -0400
Newsgroups: gnu.bash.bug


Stephane Chazelas wrote:

In zsh, removing the empty elements is just a matter of

var1=($var1)

Wouldn't this corrupt the elements with spaces, just as in bash?

--
Yorick



<Prev in Thread] Current Thread [Next in Thread>