when someone abandons you,it is him that gets loss because he lost someone who truly loves him but you just lost one who doesn’t love you.
创建一个脚本 test.sh,内容如下
1 |
|
执行一波
1 | $ ./test.sh test test1 test2 test3 test4 |
shift 命令每执行一次,变量的个数 ($#) 减一,而变量值提前一位,不带参数的 shift 命令相当于 shift 1。如:shift 3 表示原来的 $4 现在变成 $1,原来的 $5 现在变成 $2 等等,原来的 $1、$2、$3 丢弃,$0 不移动
be slow to promise and quick to perform.