shell函数的返回值,可以和其他语言的返回值一样,通过return语句返回。 示例:. #!/bin/bash -. function mytest(). {. echo "arg1 = $1".
確定! 回上一頁