1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-30 15:35:30 +02:00

tee: proposed change for review

This commit is contained in:
Polle Vanhoof 2017-10-28 12:20:16 +02:00 committed by GitHub
parent d8fc8ce6f1
commit 877e017f00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)