結果 : bash function update global variable