shell脚本中$*,$@,$#的区别

shell脚本中的$*,$@和$# #!/bin/bash my_fun() { echo "$#" } echo 'the number of parameter in "$@" is '$(my_fun "$@") echo 'the number of parameter in "$*" is
posted @ 2021-01-27 10:50  shan_zhayidian  阅读(1738)  评论(0编辑  收藏  举报