Skip to content

Commit 145f236

Browse files
committed
update docs/shell.md
1 parent 9342039 commit 145f236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/shell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ b
6565
# 2. 后缀方式,管道
6666
$ echo -e 'a\nb' | nl | c
6767
1 a
68+
2 b
6869
# gb是oh-my-zsh的别名,列出git的分支,需要后缀的方式的使用。
6970
$ gb | c
7071

7172
# 3. 从标准输入读取内容。拷贝文件内容时这种方式最直接。
7273
$ c < id_rsa.pub
7374
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAz+ETZEgoLeIiC0rjWewdDs0sbo8c...== [email protected]
74-
2 b
7575
```
7676

7777
### 参考资料

0 commit comments

Comments
 (0)