bug-bash
[Top][All Lists]
Advanced

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

Re: parser bug in Q_ARITH


From: Chet Ramey
Subject: Re: parser bug in Q_ARITH
Date: Thu, 3 Jul 2025 10:34:15 -0400
User-agent: Mozilla Thunderbird

On 6/30/25 5:06 AM, Isabella Bosia wrote:
this causes a parser error since commit 35bc7025

a=(0 1 2)
b=(0 1 2)
x=0
((i=$x,a[b[i]]))

using $ anywhere in (( )) makes subscripts not expandable

I'll take a look at this after bash-5.3 is released.


--
``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]