1 $1是函数的第一个参数 2 看替换的定义,${varname:-word},如果varname存在且非null,则返回其值;否则,返回word。用途:如果变量未定义,则返回默认值。 3 上述替换中的word是空,即,如果1没有定义,就返回空