... to assign a Bash function return value to variable. 1func() { 2 local para_1=$1; 3 if [[ $para_1 == 1 ]]; then 4 return "Hello world"; ...
確定! 回上一頁