title: How to replace second column of csv file with a specific value "XYX"
body: <p>To replace last field of csv file with <code>xyz</code> I use following command:</p>
  
  <pre><code>awk -F, '{$NF="xyz";}1' OFS=, file
  </code></pre>
  
  <p>How can I overwrite the second column of file with value <code>xyz</code>?</p>