title: Redirection using tee and sed
body: <p>What am I doing wrong here? I don't get any <code>STDOUT</code> from <code>tee</code> but <code>test.log</code> is populated correctly.</p>
  
  <pre><code>perl test.pl | tee -i | sed 's/\x1b\[[0-9;]*m//g' &gt; test.log
  </code></pre>
  
  <p>My goal is to sent everything printed by <code>test.pl</code> to <code>STDOUT</code> and dump a filtered version(using <code>sed</code>) of same to <code>test.log</code></p>