[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
change in behavior starting with bash-4.3_p14 and $@ in [[...]]
From: |
Mike Frysinger |
Subject: |
change in behavior starting with bash-4.3_p14 and $@ in [[...]] |
Date: |
Tue, 12 Aug 2014 23:05:11 -0400 |
User-agent: |
KMail/4.13.3 (Linux/3.14.2; KDE/4.13.3; x86_64; ; ) |
simple enough code:
foo=(0 0 0); [[ -z ${foo[@]#0} ]]; echo $?
with bash-4.3_p13 and older, this would show 0. starting with bash-4.3_p14,
this now shows 1.
i can't tell from the thread whether this was intentional:
https://lists.gnu.org/archive/html/help-bash/2014-04/msg00004.html
-mike
signature.asc
Description: This is a digitally signed message part.
- change in behavior starting with bash-4.3_p14 and $@ in [[...]],
Mike Frysinger <=