title: Matrix addition in awk
body: <p>I have a bunch of variables which look like this:</p>
  
  <pre><code>(DURATION 1.57) + (DURATION 2.07)
  (T0 10) (T1 0) (TX 0) + (T0 12) (T1 0) (TX 1)
  (TC 1) (IG 0) + (TC 2) (IG 3)
  </code></pre>
  
  <p>Is it possible to have awk process this such that the result is:</p>
  
  <pre><code>(DURATION 3.64)
  (T0 22) (T1 0) (TX 1) 
  (TC 3) (IG 3) 
  </code></pre>
  
  <p>Or can anyone recommend another unix program I can use to do this?</p>