linux shell 编程5 函数获取参数

#!/bin/sh
arg1=$1
arg2=$2
tellname ()
{
echo "this is  tellname funciton  and execute this  function tellname !"
echo "two  args: $arg1 , $arg2"
}
echo " execute function "
# execute  function
tellname

this

相关文章
相关标签/搜索