mirror of https://github.com/CrimsonTome/tldr.git
tee: proposed change for review
parent
d8fc8ce6f1
commit
877e017f00
|
@ -10,6 +10,6 @@
|
||||||
|
|
||||||
`echo "example" | tee -a {{FILE}}`
|
`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)
|
||||||
|
|
Loading…
Reference in New Issue