Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: unset arbitrary associative array element
- X-seq: zsh-workers 43273
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: unset arbitrary associative array element
- Date: Sun, 12 Aug 2018 05:38:18 +0200
- 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; bh=D7w1mU4bwVR2VbXHtT2hjROVHbyN3AqZoKio3xM40dk=; b=FvEZT6nsg3NU2XvzM94h0drFExcY38aX4d2vmkoC3xf58MH6QHBrVJSvYxjdT0UNNB okKW7Gh8Sw5BH3wl5yIO6hZO4RU5tzMPz9NTGlpqVZePuyqW8BNJzRGd0pL5N3mlpe+I R4oTM5B/wuTfamHM8Q0nhH5+yG4J4zk4QcQdA8UQTKqNavunuhfqrPzV5QTUf7ezeZdq RNguOYQzjRmYjkxpriMzUxU+dorgfkBVpERD2Bogb28DRhc8jjkSlE7Z5JJ/c9Ga5/Z0 tzCuzU6ov9KLbolMUX48j3S6+oiYRBZ7ctteISBjJkCYehCgN1fJTlLTC2/yv6xwl2YH j0aA==
- In-reply-to: <CAKc7PVDNipoD=1FZQXF5qz2wf=nOMP-foabaWVNp+zBWanoK4w@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: <20180811112226.tiscidxlc7edxqmg@chaz.gmail.com> <CAKc7PVDNipoD=1FZQXF5qz2wf=nOMP-foabaWVNp+zBWanoK4w@mail.gmail.com>
I've found the post about (b) flag:
http://www.zsh.org/mla/workers/2016/msg00440.html
On Sat, 11 Aug 2018 at 16:55, Sebastian Gniazdowski
<sgniazdowski@xxxxxxxxx> wrote:
>
> On Sat, 11 Aug 2018 at 13:22, Stephane Chazelas
> <stephane.chazelas@xxxxxxxxx> wrote:
> > Is there any other way, other than recreating the full array
> > with something like:
> >
> > hash=("${(@kv)hash[(I)^$key]}") # untested
>
> I once reported some unset-key impossibilities, and Bart and Peter
> added a (b) flag. Maybe it helps here too. Could someone recall what
> this flag does?
>
> > --
> > Stephane
>
> --
> Sebastian Gniazdowski
> News: https://twitter.com/ZdharmaI
> IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Messages sorted by:
Reverse Date,
Date,
Thread,
Author