bug-bash
[Top][All Lists]
Advanced

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

Re: nameref to array[@] doesn't always expand to multiple words


From: Oğuz
Subject: Re: nameref to array[@] doesn't always expand to multiple words
Date: Tue, 19 Jan 2021 16:32:46 +0200

19 Ocak 2021 Salı tarihinde Greg Wooledge <wooledg@eeg.ccf.org> yazdı:

> On Tue, Jan 19, 2021 at 01:38:13PM +0300, Oğuz wrote:
> >     $ declare -n c=a[@]
>
> "However,  nameref  variables can reference array variables and
> subscripted array variables."
>
> Is a[@] a "subscripted array variable"?
>

It is, `@' is the subscript here.


-- 
Oğuz


reply via email to

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