mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-24 10:56:29 +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)
|
||||
```
|
||||
|
||||
- 编写脚本时,你可能会想要把代码都放在大括号里。缺少关括号的话,代码就会因为语法错误而无法执行。如果你的脚本是要放在网上供人下载的,这样的写法就体现出它的好处了,因为没有完全下载的脚本无法执行:
|
||||
- 编写脚本时,你可能会想要把代码都放在大括号里。缺少右括号的话,代码就会因为语法错误而无法执行。如果你的脚本是要放在网上供人下载的,这样的写法就体现出它的好处了,因为没有完全下载的脚本无法执行:
|
||||
```bash
|
||||
{
|
||||
# 在这里写代码
|
||||
|
|
Loading…
Reference in a new issue