結果 : bash update variable in loop