bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: declare -A +A


From: Koichi Murase
Subject: Re: declare -A +A
Date: Tue, 13 Feb 2024 07:24:56 +0900

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]