bug-bash
[Top][All Lists]
Advanced

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

Re: ${var@A} ${var@a} when var is a nameref


From: Zachary Santer
Subject: Re: ${var@A} ${var@a} when var is a nameref
Date: Sun, 19 Oct 2025 08:27:59 -0400

On Sat, Oct 18, 2025 at 11:24 PM Oğuz <oguzismailuysal@gmail.com> wrote:
>
> On Sunday, October 19, 2025, Zachary Santer <zsanter@gmail.com> wrote:
>>
>> My shell is in POSIX mode, but turning that off doesn't seem to make a
>> difference.
>
> $ shopt -s failglob
> $ x*y
> bash: no match: x*y
>
> Turn off failglob

That probably should've been obvious. Thanks.

$ touch x12=3
$ printf '%s\n' x[1][2]=3
x12=3

So the "indices" are being treated as bracket expressions. That makes sense.



reply via email to

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