title: Removing spaces for all the columns of a CSV file in bash/unix
body: <p>I have a CSV file in which every column contains unnecessary extra spaces added to it before the actual value. I want to create a new CSV file by removing all the spaces.</p>
  
  <p>For example</p>
  
  <p>One line in input CSV file</p>
  
  <pre><code> 123, ste hen, 456, out put
  </code></pre>
  
  <p>Expected output CSV file</p>
  
  <pre><code>123,ste hen,456,out put
  </code></pre>
  
  <p>I tried using awk to trim each column but it didn't work.</p>