[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
((i++)) no longer supported?
From: |
Pan ruochen |
Subject: |
((i++)) no longer supported? |
Date: |
Thu, 3 May 2012 14:34:16 +0800 |
Hi All,
Suddenly I found that ((i++)) is not supported on bash.
Just try the following simple case:
$i=0; ((i++)); echo $?
And the result is
1
which means an error.
I got the same result on GNU bash, version 4.1.2(1)-release
(x86_64-redhat-linux-gnu) and GNU bash, version 4.1.10(4)-release
(i686-pc-cygwin).
- BR, Ruochen
- ((i++)) no longer supported?,
Pan ruochen <=