执行命令后declare -i a=5,命令a+=2成功,但命令a-=2失败。有人可以解释 bash 的这种奇怪行为吗?
declare -i a=5
a+=2
a-=2
bash arithmetic
arithmetic ×1
bash ×1