zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Tycho Grouwstra <tychogrouwstra@gmail.com>
Cc: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: read -a
Date: Wed, 30 May 2018 14:17:49 -0700	[thread overview]
Message-ID: <CAH+w=7bZD99ufhZJ9jhE-psdGr5ytKDBkkhy_a-FF+gFXDivhQ@mail.gmail.com> (raw)
In-Reply-To: <CAPgfvB0qXo+_Y04_pFtUawkuVVUcf-dk1fBSZumXU7XnqB=fgQ@mail.gmail.com>

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).


  reply	other threads:[~2018-05-30 21:17 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 [this message]
2018-05-30 22:30   ` Tycho Grouwstra

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='CAH+w=7bZD99ufhZJ9jhE-psdGr5ytKDBkkhy_a-FF+gFXDivhQ@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=tychogrouwstra@gmail.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).