From 34519ed7701fbc99fc00bdcad29268ea364ff28f Mon Sep 17 00:00:00 2001 From: jassler Date: Fri, 29 May 2020 13:01:37 +0200 Subject: [PATCH] wc: add pipe example (#4067) Co-authored-by: Starbeamrainbowlabs --- pages/common/wc.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/wc.md b/pages/common/wc.md index c54043001..6f7c1a6dd 100644 --- a/pages/common/wc.md +++ b/pages/common/wc.md @@ -17,3 +17,7 @@ - Count characters in file (taking multi-byte character sets into account): `wc -m {{file}}` + +- Use standard input to count lines, words and characters (bytes) in that order: + +`{{find .}} | wc`