1
0
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:
幻境云图 2019-03-19 14:05:39 +08:00 committed by GitHub
parent 81b7848b3c
commit d76938c9fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,7 +210,7 @@ expr length "$name";
expr 5+6 // 直接输出 5+6
expr 5 + 6 // 输出 11
```
对于某些运算符,还需要我们使用符号"\"进行转义,否则就会提示语法错误。
对于某些运算符,还需要我们使用符号`\`进行转义,否则就会提示语法错误。
```shell
expr 5 * 6 // 输出错误