title: tcl command redirect to a variable, tcl version is 8.4
body: <p>I want to redirect the output of 1 command to a variable, where the OUTPUT is usually to STDOUT. I am running an EDA tool, which has tcl interpeter &amp; it's own commands.
  Let's say that the tool has a tcl query, which says</p>
  
  <pre><code>TOOL&gt; find_transistor m*
  m1 m2 m3 m4
  </code></pre>
  
  <p>I want to have a way of doing the following:</p>
  
  <pre><code>TOOL&gt; set ret redirect {find_transistor m*}
  TOOL&gt; puts $ret
  m1 m2 m3 m4
  </code></pre>
  
  <p>Any ideas?</p>