aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2011-07-21 17:23:37 +0800
committerMu Qiao <qiaomuf@gentoo.org>2011-08-02 15:46:29 +0800
commit1dbbb7aa1833505a692f8c506fcd5ee0b54314d1 (patch)
tree15f12252abc710e3641f2dbaa5ecd0d6ea633cf1 /scripts
parentParser: support == in arithmetic comparison (diff)
downloadlibbash-1dbbb7aa1833505a692f8c506fcd5ee0b54314d1.tar.gz
libbash-1dbbb7aa1833505a692f8c506fcd5ee0b54314d1.tar.bz2
libbash-1dbbb7aa1833505a692f8c506fcd5ee0b54314d1.zip
Walker: support == in arithmetic comparison
Diffstat (limited to 'scripts')
-rw-r--r--scripts/binary_arithmetic.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/binary_arithmetic.bash b/scripts/binary_arithmetic.bash
index 36b4c9d..cac471f 100644
--- a/scripts/binary_arithmetic.bash
+++ b/scripts/binary_arithmetic.bash
@@ -67,3 +67,5 @@ ARRAY=(1 2 3 4 5)
FOO059="$((100**0))"
echo "$((FOO059||FOO059++))"
echo "$((0&&FOO059++))"
+echo "$(( 1 == 2))"
+echo "$(( 1 == 1))"