title: How do I convert a tab-separated values (TSV) file to a comma-separated values (CSV) file in BASH?
body: <p>I have some TSV files that I need to convert to CSV files. Is there any solution in BASH, e.g. using <code>awk</code>, to convert these? I could use <code>sed</code>, like this, but am worried it will make some mistakes:</p>
  
  <pre><code>sed 's/\t/,/g' file.tsv &gt; file.csv
  </code></pre>
  
  <ul>
  <li>Quotes needn't be added.</li>
  </ul>
  
  <p>How can I convert a TSV to a CSV?</p>