【Shell脚本小技巧】${parameter:-word}如果参数未设置或为空,则替换单词的扩展。否则,为参数原值(https://www.gnu.org/software/bash/manual/bash.html#Shell-Parameter-Expansion)。