bug-bash
[Top][All Lists]
Advanced

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

Re: setarray[unsetkey] doesn't trigger nounset in arithmetic context


From: Oğuz
Subject: Re: setarray[unsetkey] doesn't trigger nounset in arithmetic context
Date: Mon, 22 May 2023 15:52:56 +0300

22 Mayıs 2023 Pazartesi tarihinde Martin D Kealey <martin@kurahaupo.gen.nz>
yazdı:

> I disagree: this would constitute a major change, breaking behaviour that
> is (for good reasons) depended on.
>

How so? I wouldn't expect expanding `a[1]' to not fail when `a[1]' is unset
and `set -u' is in effect, and can't see why anyone would either.


-- 
Oğuz


reply via email to

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