Skip to content

Commit 1b1ea2e

Browse files
committed
docs: edit quotation, fix wangdoc#25
1 parent ae096fe commit 1b1ea2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/quotation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ $ cat << _EOF_
214214
_EOF_
215215
```
216216

217-
Here 文档内部会发生变量替换和通配符扩展,但是双引号和单引号都失去语法作用,变成了普通字符。
217+
Here 文档内部会发生变量替换,同时支持反斜杠转义,但是不支持扩配符扩展,双引号和单引号也失去语法作用,变成了普通字符。
218218

219219
```bash
220220
$ foo='hello world'
@@ -231,7 +231,7 @@ hello world
231231

232232
上面例子中,变量`$foo`发生了替换,但是双引号和单引号都原样输出了,表明它们已经失去了引用的功能。
233233

234-
如果不希望发生变量替换和通配符扩展,可以把 Here 文档的开始标记放在单引号之中。
234+
如果不希望发生变量替换,可以把 Here 文档的开始标记放在单引号之中。
235235

236236
```bash
237237
$ foo='hello world'

0 commit comments

Comments
 (0)