From: Pier Paolo Grassi <pierpaolog@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Mikael Magnusson <mikachu@gmail.com>,
Roman Perepelitsa <roman.perepelitsa@gmail.com>,
Zsh-Users List <zsh-users@zsh.org>
Subject: Re: field splitting
Date: Wed, 22 Apr 2020 20:20:03 +0200 [thread overview]
Message-ID: <CAP+y1xAMKJEobTa2NKvUn+Ap9eBVpUwRxSCO_ryzEVeSQYB6_A@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7aQVhTbaiGb8-OAXC4sghvhPOncg8DbaNWC48R5SvO6WA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 550 bytes --]
thanks will go with this for now
Il giorno mer 22 apr 2020 alle 20:14 Bart Schaefer <
schaefer@brasslantern.com> ha scritto:
> On Wed, Apr 22, 2020 at 10:54 AM Pier Paolo Grassi <pierpaolog@gmail.com>
> wrote:
> >
> > so it's a bug in that version? this is the zsh that comes with ubuntu
> xenial
>
> It's intentional behavior; the newer version provides an alternate
> behavior that is closer to what you want.
>
> The workaround in older versions of zsh is to use a dummy array
> variable: ${${(As: :)dummy::=$line}[1]}
>
--
Pier Paolo Grassi
prev parent reply other threads:[~2020-04-22 18:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-22 16:43 Pier Paolo Grassi
2020-04-22 16:47 ` Mikael Magnusson
2020-04-22 17:11 ` Pier Paolo Grassi
2020-04-22 17:18 ` Roman Perepelitsa
2020-04-22 17:46 ` Pier Paolo Grassi
2020-04-22 17:51 ` Roman Perepelitsa
2020-04-22 17:53 ` Pier Paolo Grassi
2020-04-22 18:04 ` Roman Perepelitsa
2020-04-22 18:18 ` Pier Paolo Grassi
2020-04-22 18:14 ` Bart Schaefer
2020-04-22 18:20 ` Pier Paolo Grassi [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=CAP+y1xAMKJEobTa2NKvUn+Ap9eBVpUwRxSCO_ryzEVeSQYB6_A@mail.gmail.com \
--to=pierpaolog@gmail.com \
--cc=mikachu@gmail.com \
--cc=roman.perepelitsa@gmail.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-users@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).