結果 : bash save function output to variable