wc: add pipe example (#4067)
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:
@@ -17,3 +17,7 @@
|
|||||||
- Count characters in file (taking multi-byte character sets into account):
|
- Count characters in file (taking multi-byte character sets into account):
|
||||||
|
|
||||||
`wc -m {{file}}`
|
`wc -m {{file}}`
|
||||||
|
|
||||||
|
- Use standard input to count lines, words and characters (bytes) in that order:
|
||||||
|
|
||||||
|
`{{find .}} | wc`
|
||||||
|
Reference in New Issue
Block a user