Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: read -a
- X-seq: zsh-workers 42900
- From: Tycho Grouwstra <tychogrouwstra@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: read -a
- Date: Thu, 31 May 2018 00:30:01 +0200
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PqOiIlm3iUeGJ51nKpB7huWfiwFdjJcL+RagbvmAxV0=; b=l31NKXh/pMsgI+2TVnSrjFewhu3JcSM0igd9qPGg6DFRzTJRCdYIyFCiqGmVc03g6S zQKt+qJmq52phxJZT6Be0QPlaPowRsdak49bQdYxonhesWFhCNGdhy4vRMN0YRirDnxg PhNkddeQR5RbxJvhAKgCKUsTI5hZeZ2YWneMvHhaHe4k8fnKES+O5rUo0pGHI515SQdQ 4TrL0elBnFVoqQFKlmcYx3/qN/vo7qgXq6eesjCj3FfzBJsGIjaInBQz3zHCE3VB+RHX fAMNWQXM7Y0NoumPn1RczPxokmxw8cvnssp3Fy2vuySUjriu1WA+9cMVhsUlSind65vu WKrQ==
- In-reply-to: <CAH+w=7bZD99ufhZJ9jhE-psdGr5ytKDBkkhy_a-FF+gFXDivhQ@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> <CAH+w=7bZD99ufhZJ9jhE-psdGr5ytKDBkkhy_a-FF+gFXDivhQ@mail.gmail.com>
Got it, thanks!
On Wed, May 30, 2018, 11:17 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
wrote:
> 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