Howto Remove Tabs From CSV Files, A Second Method

As mentioned before, you regularly want to transform tsv files into csv files. While tr is a much less powerful program than sed or awk, it is much easier to use:

tr '\t' ','  < input_file > output_file

This entry was posted in Data Munging and tagged , . Bookmark the permalink.

One Response to Howto Remove Tabs From CSV Files, A Second Method

  1. Pingback: Stochastic Nonsense | Writing MySQL Query Results to Disk

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>