bug-bash
[Top][All Lists]
Advanced

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

Re: Parameter transformation `@A` on array member


From: Chet Ramey
Subject: Re: Parameter transformation `@A` on array member
Date: Mon, 16 Mar 2026 10:47:16 -0400
User-agent: Mozilla Thunderbird

On 3/15/26 8:19 AM, A4-Tacks wrote:

Bash Version: 5.3
Patch Level: 9
Release Status: release

Description:
      For the array member `${x[1]@A}`, the output indicates that the member is 
an array

Repeat-By:
      $ x=(a b)
      $ echo "${x[1]@A}"
      declare -a x='b'
      $ # Expect like `declare x[1]='b'`

This should probably be an error.

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

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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