結果 : bash assign variable in if statement