Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: unset arbitrary associative array element



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