結果 : shell script call function and assign to variable