title: process multiple lines text file to print in single line
body: <p>I am newbie in TCL scripting. Just wish to get some advice from experts here. </p>
  
  <p>I wish to process the report with format as below. I am thinking to print the report without the header and with just single line like -</p>
  
  <pre><code>Connections for net 'pmg_ccu_ot2_tam_50mhz_sel_xainfwh' :: Driver a_par/pmg_ccu_ot2_tam_50mhz_sel_xainfwh Output Pin (a_par) :: Load  b_par/pmg_ccu_ot2_tam_50mhz_sel_xainfwh Input Pin (b_par)
  Connections for net 'pmg_ccu_ot2_tam_50mhz_sel_xainfwh_2' :: Driver d_par/pmg_ccu_ot2_tam_50mhz_sel_xainfwh_2 Output Pin (d_par) :: Load  e_par/pmg_ccu_ot2_tam_50mhz_sel_xainfwh_2 Input Pin (e_par), f_par/pmg_ccu_ot2_tam_50mhz_sel_xainfwh_3 Input Pin (f_par)  
  &lt;more . . .&gt;
  </code></pre>
  
  <p>Really appreciate if anyone can give some light and idea to me. Thanks much!</p>
  
  <pre><code>****************************************
  Report : net
          -connections
  Design : soc
  Version: G-2012.06-SP2
  Date   : Sun Apr  7 22:56:33 2013
  ****************************************
  
  
  Connections for net `pmg_ccu_ot2_tam_50mhz_sel_xainfwh`:
  
  Driver Pins         Type                
  ------------        ----------------    
  a_par/pmg_ccu_ot2_tam_50mhz_sel_xainfwh Output Pin (a_par)
  
  Load Pins           Type                
  ------------        ----------------    
  b_par/pmg_ccu_ot2_tam_50mhz_sel_xainfwh Input Pin (b_par)  
  
  1  
  
  
  Connections for net `pmg_ccu_ot2_tam_50mhz_sel_xainfwh_2`:
  
  Driver Pins         Type                
  ------------        ----------------    
  d_par/pmg_ccu_ot2_tam_50mhz_sel_xainfwh_2 Output Pin (d_par)
  
  Load Pins           Type                
  ------------        ----------------    
  e_par/pmg_ccu_ot2_tam_50mhz_sel_xainfwh_3 Input Pin (e_par)
  f_par/pmg_ccu_ot2_tam_50mhz_sel_xainfwh_3 Input Pin (f_par)  
  
  1
  
  &lt;more . . .&gt;
  </code></pre>