linux-tutorial/codes/shell/脚本函数
Zhang Peng bde246d984 update
2020-01-03 22:41:37 +08:00
..
lib.sh update 2020-01-03 22:41:37 +08:00
从函数返回数组.sh update scripts and docs 2019-10-29 18:22:19 +08:00
使用return命令.sh update scripts and docs 2019-10-29 18:22:19 +08:00
使用全局变量带来的问题.sh update scripts and docs 2019-10-29 18:22:19 +08:00
使用函数输出.sh update scripts and docs 2019-10-29 18:22:19 +08:00
使用命令行中传递的参数.sh update scripts and docs 2019-10-29 18:22:19 +08:00
使用局部变量.sh update scripts and docs 2019-10-29 18:22:19 +08:00
使用库函数.sh update 2020-01-03 22:41:37 +08:00
全局变量.sh update scripts and docs 2019-10-29 18:22:19 +08:00
函数入参2.sh update scripts and docs 2019-10-29 18:22:19 +08:00
函数入参.sh update scripts and docs 2019-10-29 18:22:19 +08:00
函数基本示例2.sh update scripts and docs 2019-10-29 18:22:19 +08:00
函数基本示例.sh update scripts and docs 2019-10-29 18:22:19 +08:00
函数递归.sh update scripts and docs 2019-10-29 18:22:19 +08:00
在函数中使用参数.sh update scripts and docs 2019-10-29 18:22:19 +08:00
想函数传数组数据.sh update scripts and docs 2019-10-29 18:22:19 +08:00
累加数组中的值.sh update scripts and docs 2019-10-29 18:22:19 +08:00
默认退出状态码.sh update scripts and docs 2019-10-29 18:22:19 +08:00