zh: fixes wording for 'the closing brace'
This commit is contained in:
@@ -146,7 +146,7 @@
|
|||||||
diff /etc/hosts <(ssh somehost cat /etc/hosts)
|
diff /etc/hosts <(ssh somehost cat /etc/hosts)
|
||||||
```
|
```
|
||||||
|
|
||||||
- 编写脚本时,你可能会想要把代码都放在大括号里。缺少关括号的话,代码就会因为语法错误而无法执行。如果你的脚本是要放在网上供人下载的,这样的写法就体现出它的好处了,因为没有完全下载的脚本无法执行:
|
- 编写脚本时,你可能会想要把代码都放在大括号里。缺少右括号的话,代码就会因为语法错误而无法执行。如果你的脚本是要放在网上供人下载的,这样的写法就体现出它的好处了,因为没有完全下载的脚本无法执行:
|
||||||
```bash
|
```bash
|
||||||
{
|
{
|
||||||
# 在这里写代码
|
# 在这里写代码
|
||||||
|
Reference in New Issue
Block a user