shell 部分语法

shell 部分语法

语法: variable_name=${variable_name:-xxxx}

如果variable 已经有值,则不被新值覆盖,否则将新值赋给variable

split命令切割文件

 shell 部分语法