diff options
Diffstat (limited to 'shell/ash_test/ash-arith/arith2.sub')
-rwxr-xr-x | shell/ash_test/ash-arith/arith2.sub | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/shell/ash_test/ash-arith/arith2.sub b/shell/ash_test/ash-arith/arith2.sub index 29f9471d6..8d7918114 100755 --- a/shell/ash_test/ash-arith/arith2.sub +++ b/shell/ash_test/ash-arith/arith2.sub @@ -46,12 +46,8 @@ echo $(( ---7 )) echo $(( ++7 )) ( echo $(( ++ + 7 )) ) -# bash 3.2: -7 -#ash# echo -7 $(( ++-7 )) -# bash 3.2: -7 -#ash# echo -7 $(( ++ - 7 )) - -# bash 3.2: 7 -#ash# echo 7 $(( +--7 )) -# bash 3.2: 7 -#ash# echo 7 $(( -- + 7 )) +echo -7 $(( ++-7 )) +echo -7 $(( ++ - 7 )) + +echo 7 $(( +--7 )) +echo 7 $(( -- + 7 )) |