mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-25 02:26:30 +08:00
zh: fixes wording for 'the closing brace'
This commit is contained in:
parent
6892302f93
commit
095d11c7ca
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@
|
||||||
diff /etc/hosts <(ssh somehost cat /etc/hosts)
|
diff /etc/hosts <(ssh somehost cat /etc/hosts)
|
||||||
```
|
```
|
||||||
|
|
||||||
- 编写脚本时,你可能会想要把代码都放在大括号里。缺少关括号的话,代码就会因为语法错误而无法执行。如果你的脚本是要放在网上供人下载的,这样的写法就体现出它的好处了,因为没有完全下载的脚本无法执行:
|
- 编写脚本时,你可能会想要把代码都放在大括号里。缺少右括号的话,代码就会因为语法错误而无法执行。如果你的脚本是要放在网上供人下载的,这样的写法就体现出它的好处了,因为没有完全下载的脚本无法执行:
|
||||||
```bash
|
```bash
|
||||||
{
|
{
|
||||||
# 在这里写代码
|
# 在这里写代码
|
||||||
|
|
Loading…
Reference in a new issue