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)