shell中的函数参数
来源:互联网 发布:诗经楚辞取名 知乎 编辑:程序博客网 时间:2024/04/27 21:49
#!/bin/bash func_1() { echo $1 } str="jeguan hello" //注意引号在这里的作用 func_1 "$str" echo "please pay attention to the missed \"\"" func_1 $str //不带引号的时候
运行结果:jeguan helloplease pay attention to the missed ""jeguan
0 0
- shell中的函数参数
- shell 函数参数传递
- Shell函数参数
- shell函数参数
- Shell函数参数
- Shell函数参数
- Shell函数参数
- Shell函数参数
- Shell函数参数
- shell函数参数
- Shell 函数参数
- 十四、Shell函数参数
- Bash shell中的参数
- shell中的参数替换
- SHELL中的特殊参数
- shell中的参数替换
- Shell 学习22 - Shell 函数参数
- 【Shell脚本学习23】Shell函数参数
- ios项目(六)
- 【大渣】_gcd/_euclid
- IOS面试题(1)----分类
- 多态习题讲解
- 6.接口与内部类
- shell中的函数参数
- 2015.7.5 HNCU第二次选拔赛
- MySQL编程基础
- 安卓SDK文件目录
- 让字符串中的某一个数字改变
- hdu 5131 Song Jiang's rank list
- ide打包
- 太阁5 800人物 喜好
- 【二分+最大团】【HDU3585】【maximum shortest distance】