[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: declare -A +A
From: |
alex xmb sw ratchev |
Subject: |
Re: declare -A +A |
Date: |
Tue, 13 Feb 2024 00:07:47 +0100 |
On Mon, Feb 12, 2024, 23:25 Koichi Murase <myoga.murase@gmail.com> wrote:
> 2024年2月13日(火) 6:13 Chet Ramey <chet.ramey@case.edu>:
> > Only for indexed and associative arrays, since those are the attributes
> > that cause changes in the underlying value storage format. That's
> different
> > than turning the integer attribute on and off, for instance.
> >
> > Should it be an actual error, or should the shell just cancel out the
> > attribute change requests and go on? What do folks think?
>
> I think it can be a usage error; it doesn't do anything on the
> variable (i.e. doesn't make it an associative array) and outputs an
> error message.
>
isnt the gnu style , excepts defined cases , last used is active
>