How to easily convert Tab Separated File (.TSV) to Comma Separate File (.CSV)

If you use Linux or Mac, converting tab separated file into comma separated file is very easy. Of course, if you are a programmer, you can write some code to read the tsv and spit the output into csv. But this linux command comes very handy and is quick.

< pre escaped=”true”>

$ cat somefile.tsv | tr "\\t" "," &gt; somefile.csv

[My Video Promotion]
Tagged , , , , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.