wc: add Chinese translation (#6950)

beep
xBLACKICEx 2021-10-13 08:16:54 +02:00 committed by GitHub
parent 3d7c73e07e
commit 5d6b2367aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
pages.zh/common/wc.md Normal file
View File

@ -0,0 +1,24 @@
# wc
> 计数行、单词或字节。
> 更多信息:<https://www.gnu.org/software/coreutils/wc>.
- 计数文件中的行数:
`wc -l {{文件}}`
- 计数文件中的单词数:
`wc -w {{文件}}`
- 计数文件中的字符(字节):
`wc -c {{文件}}`
- 计数文件中的字符数(考虑所有多字节的字符):
`wc -m {{文件}}`
- 使用标准输入,按顺序计数行、单词和字符(字节):
`{{find .}} | wc`