質問です
a=10
if [$dt == 0]; then
 a=`expr $a - 1`
fi

bshで変数dtが0という数値だったらaから1引くスクリプトは
これでいいんでしょうか?