diff options
author | Mu Qiao <qiaomuf@gentoo.org> | 2011-06-20 17:55:48 +0800 |
---|---|---|
committer | Mu Qiao <qiaomuf@gentoo.org> | 2011-06-22 19:53:01 +0800 |
commit | ba6972dbe97c47614f4aeef8187ae15e08b57ee2 (patch) | |
tree | f5260353a1bf3172dbea265bc04fc975367d029a /scripts | |
parent | Utility: support printing tokens received by walker (diff) | |
download | libbash-ba6972dbe97c47614f4aeef8187ae15e08b57ee2.tar.gz libbash-ba6972dbe97c47614f4aeef8187ae15e08b57ee2.tar.bz2 libbash-ba6972dbe97c47614f4aeef8187ae15e08b57ee2.zip |
Walker: support shortcut capability for logic or
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/binary_arithmetic.bash | 1 | ||||
-rw-r--r-- | scripts/binary_arithmetic.bash.result | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/binary_arithmetic.bash b/scripts/binary_arithmetic.bash index 330d07b..114655a 100644 --- a/scripts/binary_arithmetic.bash +++ b/scripts/binary_arithmetic.bash @@ -63,3 +63,4 @@ FOO057="$((${FOO056}++))" FOO058="$((${FOO056}+=10))" ARRAY=(1 2 3 4 5) FOO059="$((100**0))" +FOO060="$((FOO059||FOO059++))" diff --git a/scripts/binary_arithmetic.bash.result b/scripts/binary_arithmetic.bash.result index de065d6..740548d 100644 --- a/scripts/binary_arithmetic.bash.result +++ b/scripts/binary_arithmetic.bash.result @@ -58,5 +58,6 @@ FOO056=value FOO057=100 FOO058=111 FOO059=1 +FOO060=1 PARTIAL=5 value=111 |