mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
Add doc for wc(1)
This commit is contained in:
parent
5e9c4d4d44
commit
f56257d249
1 changed files with 16 additions and 0 deletions
16
osx/wc.md
Normal file
16
osx/wc.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# wc
|
||||
|
||||
> Count words, bytes, or lines
|
||||
|
||||
- count lines in file
|
||||
|
||||
`wc -l {{file}}`
|
||||
|
||||
- count bytes in file
|
||||
|
||||
`wc -c {{file}}`
|
||||
|
||||
- count characters in file (taking multi-byte character sets into account)
|
||||
|
||||
`wc -m {{file}}`
|
||||
|
Loading…
Add table
Reference in a new issue