diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-11 14:22:00 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-11 14:22:00 +0100 |
commit | 8944c67b1f61ca6a51a485772d5d1e6a8ff3d83d (patch) | |
tree | c6f80f8d3c99aace515ff2663989084889a0d926 /include | |
parent | 027d3ab57d6a3a5a872543a6f30e55347d975149 (diff) |
hush: reinstate [[ builtin
Mike deleted it:
commit 39456a18a104b228de240b265bd943251219849d
Author: Mike Frysinger <vapier@gentoo.org>
Date: Sat Mar 28 12:21:57 2009 +0000
stop lying about [[ test support
probably because it was not properly ifdefed around, and was enabled
even when bash compat is off.
I just tested it - it works:
$ [ *.diff = z.diff ]; echo $?
0
$ [[ *.diff = z.diff ]]; echo $?
1
Of course, not all numerous bash tricks of [[ ]] are implemented...
function old new delta
bltins2 60 72 +12
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions