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

Re: PATCH: bug in ${(z)...} with newlines



On Wed, Jun 9, 2010 at 7:34 AM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> foo=(${(q)${(z)foo}})
> bar=time

Er, that should be bar=(time) of course.

> for word in $foo
> do if [[ $word == '\;' ]]
>   then bar+=($word time)
>   else bar+=($word)
>   fi
> done



Messages sorted by: Reverse Date, Date, Thread, Author