On 12/22/25 11:05 AM, Koichi Murase wrote:
2025年12月23日(火) 0:21 Greg Wooledge <[email protected]>:
hobbit:~$ declare -A aa=("${kv[@]}"); declare -p aa
declare -A aa=(["one 1 two 2 two and a half 2.5 three 3"]="" )

I agree that the above behavior is wrong.

You would like word splitting in this one specific case? Treating `declare'
as a declaration utility in all cases except this one?

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

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

  • Question about... 王伟
    • Re: Quest... Greg Wooledge
      • Re: Q... Koichi Murase
        • R... Greg Wooledge
          • ... Zachary Santer
            • ... Greg Wooledge
          • ... Koichi Murase
            • ... Koichi Murase
              • ... Chet Ramey
                • ... Koichi Murase
            • ... Chet Ramey
              • ... Zachary Santer
              • ... Koichi Murase
          • ... Félix Hauri via Bug reports for the GNU Bourne Again SHell
            • ... Greg Wooledge
              • ... Félix Hauri via Bug reports for the GNU Bourne Again SHell
                • ... Félix Hauri via Bug reports for the GNU Bourne Again SHell
                • ... Greg Wooledge
        • R... Chet Ramey
          • ... Koichi Murase

Reply via email to