title: How to `cat' file in a specific baud?
body: <p>I'm using uCsim to do unit test on SDCC projects. </p>
  
  <p>In uCsim/S51, you can simulate serial line traffic by </p>
  
  <pre><code>s51 -s /dev/tty PROGRAM.ihx
  </code></pre>
  
  <p>or</p>
  
  <pre><code>s51 -S in=testdata.in,out=testdata.out PROGRAM.ihx
  </code></pre>
  
  <p>In the latter form, the data is immediately sent to the simulator which causes a lot of frames are lost.  So instead of given the test data in plain file, using pipe instead: </p>
  
  <pre><code>s51 -S in=&lt;(cat testdata.in),out=testdata.out PROGRAM.ihx
  </code></pre>
  
  <p>Now, how can I control the output baud from the `cat' utility? Or is there another utility I can use to output bits in a specific rate? </p>