Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16676

Re: set -u not working as expected

From Oğuz <oguzismailuysal@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: set -u not working as expected
Date 2020-08-02 11:35 +0300
Message-ID <mailman.501.1596357308.2739.bug-bash@gnu.org> (permalink)
References (2 earlier) <1867D8FC-85DD-4406-A239-3002913493AB@larryv.me> <CAH7i3Lr7ZCYJVpPZdc9xQMuF_yc_C2q0S9px+NY4prEUkU+24w@mail.gmail.com> <61B2CB9D-3978-4872-B88A-1542CF95B5B9@larryv.me> <CAH7i3LqAXNdCGjNqTGmnkimnXpz_kGnhQsiR2m7a5ezWtqe42A@mail.gmail.com> <CAH7i3Lqwmjm46r7PUhXauAQtyV+gE31871=C5ryjkmDNk+Ovtg@mail.gmail.com>

Show all headers | View raw


However,

> In arithmetic evaluation context, if a variable for which the integer
attribute is set appears at the LHS of an assignment operator, it shouldn't
be expanded.

would be a reasonable feature request I guess.


-- 
Oğuz

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: set -u not working as expected Oğuz <oguzismailuysal@gmail.com> - 2020-08-02 11:35 +0300

csiph-web