[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: zsh style associative array assignment bug
From: |
Robert Elz |
Subject: |
Re: zsh style associative array assignment bug |
Date: |
Mon, 29 Mar 2021 03:46:39 +0700 |
Date: Sun, 28 Mar 2021 22:01:14 +0300
From: =?UTF-8?B?T8SfdXo=?= <oguzismailuysal@gmail.com>
Message-ID:
<CAH7i3LrwsY05Q5CzRfBPmOaDGbk9KFedxw8rVJj0mBR9vadXqw@mail.gmail.com>
| No. An "explicit" empty string would be '', "", or something like that.
No, not in sh it isn't - all quotes do is hide the effects of special
characters (and prevent some uses, eg: as a reserved word). There are
no "string" (enclosed in quotes) data types in sh, a and 'a' and "a" and \a
are all the exact same thing. That applies to empty values too, the only
difference is that there needs to be some reason to believe that the empty
value exists, rather than is not present at all.
| After `=' a value is expected but it's not there
It is there. It is just empty.
How this applies to associative array init's I neither know nor care.
kre
- Re: zsh style associative array assignment bug, (continued)
- Re: zsh style associative array assignment bug, Oğuz, 2021/03/28
- Re: zsh style associative array assignment bug, Eric Cook, 2021/03/28
- Re: zsh style associative array assignment bug, Oğuz, 2021/03/28
- Re: zsh style associative array assignment bug, Ilkka Virta, 2021/03/28
- Re: zsh style associative array assignment bug, Oğuz, 2021/03/28
- Re: zsh style associative array assignment bug, Eric Cook, 2021/03/28
- Re: zsh style associative array assignment bug, Oğuz, 2021/03/28
- Re: zsh style associative array assignment bug, Greg Wooledge, 2021/03/28
- Re: zsh style associative array assignment bug, Andreas Schwab, 2021/03/29
- Re: zsh style associative array assignment bug, Ilkka Virta, 2021/03/29
- Re: zsh style associative array assignment bug,
Robert Elz <=
- Re: zsh style associative array assignment bug, L A Walsh, 2021/03/29
Re: zsh style associative array assignment bug, Chet Ramey, 2021/03/29
- Re: zsh style associative array assignment bug, Eric Cook, 2021/03/29
- Re: zsh style associative array assignment bug, Chet Ramey, 2021/03/30
- Re: zsh style associative array assignment bug, Eric Cook, 2021/03/30
- Re: zsh style associative array assignment bug, Greg Wooledge, 2021/03/30
- Re: zsh style associative array assignment bug, felix, 2021/03/31
- Re: zsh style associative array assignment bug, Greg Wooledge, 2021/03/31
Re: zsh style associative array assignment bug, Chet Ramey, 2021/03/30
Re: zsh style associative array assignment bug, Eric Cook, 2021/03/31