[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: V+=1 doesn't work if V is a reference to an integer array element
From: |
Ilkka Virta |
Subject: |
Re: V+=1 doesn't work if V is a reference to an integer array element |
Date: |
Wed, 13 Jan 2021 20:50:45 +0200 |
>
> Lots of things "could be useful" if only they worked, but they don't work,
> so you don't do them.
>
Yes, and it does work in 4.4.
> The fact that this undocumented, unsupported hack "appeared to work"
> with certain inputs in bash 4.4 is just an unfortunate event, unless
> Chet decides to make it an actual supported feature.
>
https://www.gnu.org/software/bash/manual/html_node/Shell-Parameters.html ,
bottom chapter, in the middle:
However, nameref variables can reference array variables and subscripted
array variables.
- Re: V+=1 doesn't work if V is a reference to an integer array element, (continued)
- Re: V+=1 doesn't work if V is a reference to an integer array element, Greg Wooledge, 2021/01/13
- Re: V+=1 doesn't work if V is a reference to an integer array element, Léa Gris, 2021/01/13
- Re: V+=1 doesn't work if V is a reference to an integer array element, Chet Ramey, 2021/01/13
- Re: V+=1 doesn't work if V is a reference to an integer array element, Léa Gris, 2021/01/13
- Re: V+=1 doesn't work if V is a reference to an integer array element, Oğuz, 2021/01/14
- Re: V+=1 doesn't work if V is a reference to an integer array element, Chet Ramey, 2021/01/14
- Re: V+=1 doesn't work if V is a reference to an integer array element, Léa Gris, 2021/01/14
- Re: V+=1 doesn't work if V is a reference to an integer array element, Chet Ramey, 2021/01/14
Re: V+=1 doesn't work if V is a reference to an integer array element, Ilkka Virta, 2021/01/13
Re: V+=1 doesn't work if V is a reference to an integer array element, Oğuz, 2021/01/13
Re: V+=1 doesn't work if V is a reference to an integer array element, Chet Ramey, 2021/01/13