On 2/7/24 1:48 AM, Grisha Levit wrote:
If given both the -a and -A flags and an existing scalar variable,
declare will assign both attributes to the variable:

     $ V=X; declare -Aa V; echo $?
     0
     $ echo ${V@a}
     aA
     $ (declare -p V)
     Segmentation fault: 11

For the time being, we'll make this an error instead of `last one wins'.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/


Reply via email to