View Single Post
Old 31st August 2014
spermwhale_warrior spermwhale_warrior is offline
Fdisk Soldier
 
Join Date: May 2013
Posts: 59
Default

THAT is what I want. It is surprising that we found an impredictable behavior.
It should work, or at least we should know that it can't.
(cat < /dev/ttyE2) | tee myfile do not echo anything in myfile, and on ttyE2 was a ongoing string of yes.
insteat, it occupy the current tty, like it was waiting data. But nothing got on the file.
I thought I understood the logic of echo, cat, tee and the redirections, but it seems there are some mysteries yet.
Reply With Quote