On Wed, Jan 13, 2021 at 8:49 PM Greg Wooledge <wool...@eeg.ccf.org> wrote:

> On Wed, Jan 13, 2021 at 07:00:42PM +0200, Oğuz wrote:
> >     $ declare -n b=a[0]
>
> I can't see any documentation that supports the idea that this should
> be allowed in the first place.
>

It's common sense. `declare a[0]=x' works, `unset a[0]` either, why should
`declare -n b=a[0]' not work?

Reply via email to