結果 : bash save function return value to variable