Bash中Parameter Expansion的概念和实例
Table of Contents
1. 带条件的参数扩展
2. 子字符串参数扩展
A. 偏移量确定子字符串
B. 模式匹配确定子字符串
3. 特殊字符开头的参数扩展
4. 参数扩展中的替换
5. 带操作符的参数扩展
"$"字符引入了参数扩展(parameter expansion),命令替换(command substitution),或算术扩展(arithmetic expan...
原创
2020-08-23 12:42:30 ·
407 阅读 ·
0 评论