mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-16 18:10:13 +08:00
Update Shell.md
fix: 转义符与双引号问题
This commit is contained in:
parent
81b7848b3c
commit
d76938c9fe
@ -210,7 +210,7 @@ expr length "$name";
|
||||
expr 5+6 // 直接输出 5+6
|
||||
expr 5 + 6 // 输出 11
|
||||
```
|
||||
对于某些运算符,还需要我们使用符号"\"进行转义,否则就会提示语法错误。
|
||||
对于某些运算符,还需要我们使用符号`\`进行转义,否则就会提示语法错误。
|
||||
|
||||
```shell
|
||||
expr 5 * 6 // 输出错误
|
||||
|
Loading…
x
Reference in New Issue
Block a user