結果 : bash update global variable in function