Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: read -a
- X-seq: zsh-workers 42899
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Tycho Grouwstra <tychogrouwstra@xxxxxxxxx>
- Subject: Re: read -a
- Date: Wed, 30 May 2018 14:17:49 -0700
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zv/b/OFyw/YEi6FW87V3euFeBsH3ExHf7lW9ITUWOUI=; b=ytoZJ3qWG5cDn1XjbisoXyFWKCZf59ZZ2Mh0enaG0yJojk+EqXF+vBUWxIeDmhZKBe H0BOrtGoawCpXxyEUgc/uakWeYlqGIh1bo9acVgTmWpP8xZ7q7cbJp519f2KklBzo4bP zgo//UVKrOC3kdr9H6XWb/gHWM0ogXDP5RuSUnRhPo4ARsWfshri8PkaHZMEfqELWb5s qUYFn4DcDqAsQ+7Tt2vcyYJhq71Q1gs2bXwCndJ+SfdoFp52LVGiT2zwmm89qa+HU+IL PsdvbcH1pTV5VS1Ls3wsty6+ExDmDOIVj0aN0JXi86fabtY3RxUlWrMRaduN9WuMHKsD PR/Q==
- In-reply-to: <CAPgfvB0qXo+_Y04_pFtUawkuVVUcf-dk1fBSZumXU7XnqB=fgQ@mail.gmail.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>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAPgfvB0qXo+_Y04_pFtUawkuVVUcf-dk1fBSZumXU7XnqB=fgQ@mail.gmail.com>
On Wed, May 30, 2018 at 2:00 PM, Tycho Grouwstra
<tychogrouwstra@xxxxxxxxx> wrote:
> As noted at SO
> <https://stackoverflow.com/questions/918886/how-do-i-split-a-string-on-a-delimiter-in-bash#comment75542583_918931>,
> `read -a` appears not yet supported in zsh.
> Was this omission intentional?
It's "read -A" in zsh, and (I believe) was so before bash added "read -a".
This is intended to match "set -A" which assigns an array (because
"set -a" means to enable the "allexport" option in both shells).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author