Skip to content

Commit 00ea9cc

Browse files
authored
Merge pull request wangdoc#17 from ecator/master
fix(readline): fix wrong character
2 parents b68acbf + 2089a2f commit 00ea9cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/readline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ echo Goodbye H G
146146
Goodbye H G
147147
```
148148

149-
注意,`!string`语法只会匹配命令,不会匹配参数。所以`!echo H`不会执行`echo Hello World`,而是会执行`echo Goobye`,并把参数`H`附加在这条命令之后。同理,`!echo H G`也是等同于`echo Goodbye`命令之后附件`H G`
149+
注意,`!string`语法只会匹配命令,不会匹配参数。所以`!echo H`不会执行`echo Hello World`,而是会执行`echo Goobye`,并把参数`H`附加在这条命令之后。同理,`!echo H G`也是等同于`echo Goodbye`命令之后附加`H G`
150150

151151
最后,按下`Ctrl + r`会显示操作历史,可以用方向键上下移动,选择其中要执行的命令。也可以键入命令的首字母,Shell 就会自动在历史文件中,查询并显示匹配的结果。
152152

0 commit comments

Comments
 (0)