bug-bash
[Top][All Lists]
Advanced

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

bug in 4.4?


From: L A Walsh
Subject: bug in 4.4?
Date: Thu, 26 Jan 2017 13:27:40 -0800
User-agent: Thunderbird

If I set bash to complain about uninitialized variables
w/-u, I get inconsistent, and seemingly incorrect behavior:

 echo $BASH_VERSION
4.4.5(1)-release
 set -u
 echo ${undefvar}
bash: undefvar: unbound variable
 echo address@hidden
                                    # no message about unbound var
echo ${undefvar}
bash: undefvar: unbound variable     # -u is still in effect






reply via email to

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