title: How to use awk, to split a particular column (using delimiter), then add suffix and then merge?
body: <p>In the data given below (which is tab separated):</p>
  
  <pre><code># data
  1  xyz   alfa  x=abc;z=cbe;d=fed  xt
  2  xyz   alfa  y=cde;z=xy  ft
  3  xyb   delta xy=def  zf
  </code></pre>
  
  <p>I want to add a suffix <code>_LT</code> in the elements (values of the variables) of 4th column after splitting at <code>;</code>.</p>
  
  <p>Output like:</p>
  
  <pre><code>1  xyz   alfa  x=abc_LT;z=cbe_LT;d=fed_LT  xt
  2  xyz   alfa  y=cde_LT;z=xy_LT  ft
  </code></pre>
  
  <p>I am able to add suffix at specific columns, but can't split(at delim)-add-merge.</p>
  
  <pre><code>awk -v  PRE='_LT' '{$4=$4PRE; print}' OFS="\t" data.txt &gt; data_LT.txt
  </code></pre>