From: Tycho Grouwstra <tychogrouwstra@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-workers@zsh.org
Subject: Re: read -a
Date: Thu, 31 May 2018 00:30:01 +0200 [thread overview]
Message-ID: <CAPgfvB1KXmVgDkj+77OKwzh=A+LbDaVdLARo0CeM5vnuSM_psQ@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7bZD99ufhZJ9jhE-psdGr5ytKDBkkhy_a-FF+gFXDivhQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 632 bytes --]
Got it, thanks!
On Wed, May 30, 2018, 11:17 PM Bart Schaefer <schaefer@brasslantern.com>
wrote:
> On Wed, May 30, 2018 at 2:00 PM, Tycho Grouwstra
> <tychogrouwstra@gmail.com> 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).
>
prev parent reply other threads:[~2018-05-30 22:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-30 21:00 Tycho Grouwstra
2018-05-30 21:17 ` Bart Schaefer
2018-05-30 22:30 ` Tycho Grouwstra [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPgfvB1KXmVgDkj+77OKwzh=A+LbDaVdLARo0CeM5vnuSM_psQ@mail.gmail.com' \
--to=tychogrouwstra@gmail.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).