1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-20 22:17:09 +08:00

Merge pull request #220 from illusorycloud/patch-8

Update Shell.md
This commit is contained in:
SnailClimb 2019-03-19 19:21:06 +08:00 committed by GitHub
commit 10a7bef2dc
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 // 直接输出 5+6
expr 5 + 6 // 输出 11 expr 5 + 6 // 输出 11
``` ```
对于某些运算符,还需要我们使用符号"\"进行转义,否则就会提示语法错误。 对于某些运算符,还需要我们使用符号`\`进行转义,否则就会提示语法错误。
```shell ```shell
expr 5 * 6 // 输出错误 expr 5 * 6 // 输出错误