From 877e017f00ebbac1acac21e9cf9f21f43106cdd3 Mon Sep 17 00:00:00 2001 From: Polle Vanhoof Date: Sat, 28 Oct 2017 12:20:16 +0200 Subject: [PATCH] tee: proposed change for review --- pages/common/tee.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/tee.md b/pages/common/tee.md index 8f955a376..e0208a6f3 100644 --- a/pages/common/tee.md +++ b/pages/common/tee.md @@ -10,6 +10,6 @@ `echo "example" | tee -a {{FILE}}` -- Create a folder called "example", print "example" and write "example" to the specified file: +- Create a folder called "example", count the number of characters in "example and write "example" to the terminal: -`echo "example" | tee >(xargs mkdir) >(cat) >{{path/to/file}}` +`echo "example" | tee >(xargs mkdir) >(wc -c)