title: How to collect the output of man command in tcl?
body: <p>Can somebody suggest me, how to collect output of man command in tcl?</p>
  
  <p>I am writing :- </p>
  
  <pre><code>set hello [ man {command-name}]
  </code></pre>
  
  <p>and when am executing the script, the program gets halted and 
  man commands start running in the foreground, prompting the user
  to "press RETURN" again and again till it gets completed.</p>