脚本中的命令

2017-09-16  本文已影响0人  WFim

脚本helloworld.sh中定义三个参数,执行helloworld.sh a b c
$*为"a b c"
$@为"a" "b" "c"数组
$#参数数量3

上一篇 下一篇

猜你喜欢

热点阅读