title: Reading with cat: Stop when not receiving data
body: <p>Is there any way to tell the <code>cat</code> command to stop reading when not receiving any data? maybe with some "timeout" that specifies for how long no data is incoming.</p>
  
  <p>Any ideas?</p>