学习笔记

谁借莪1个温暖的怀抱¢ 2022-11-26 12:59 312阅读 0赞
  1. 学习笔记
  2. #!/bin/bash
  3. funwithParam() {
  4. echo "The first parameter is $1 !";
  5. echo "The second parameter is $2 !";
  6. echo "The tenth parameter is $10 !";
  7. echo "The tenth parameter is ${10} !";
  8. echo "The eleventh parameter is ${11} !";
  9. echo "The total number of parameters is $# !";
  10. echo "Outputs all parameter as a string $* !";
  11. };
  12. funwithParam 1 2 3 4 5 6 7 8 9 34 73;

发表评论

表情:
评论列表 (有 0 条评论,312人围观)

还没有评论,来说两句吧...

相关阅读

    相关 学习笔记

    \ajax: 1、概念:异步的JavaScript 和 xml 1.1异步和同步:客户端和服务器端相互通信的基础上 \客户端必须等待服务器端的响应。在等待的期间客户