tldr/osx/wc.md

17 lines
214 B
Markdown
Raw Normal View History

2013-12-25 11:17:18 +00:00
# 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}}`