結果 : how to assign function return value to a variable in shell script