[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a == a[0] convention
From: |
Dan Douglas |
Subject: |
Re: a == a[0] convention |
Date: |
Tue, 7 Jun 2016 06:52:46 -0500 |
On Thu, Jun 2, 2016 at 12:18 PM, Grisha Levit <grishalevit@gmail.com> wrote:
> I think all of the stuff here is fixed in the latest devel snapshot
Ah ok I tried this again. Yes this looks better now, thanks.
> there is definitely weirdness if you run the assignments as a typeset
> command. I hadn't even tried the ref4 case, which gives the weirdest
> results when used with typeset/declare:
> https://groups.google.com/forum/#!topic/gnu.bash.bug/Z-lf3KEnZ34
That's what reminded me of this, but your example was definitely a bug
(regression since 4.3 at least). The ref4[0] one is just an odd
special case but I think it's probably easier to treat it as an error.