Alex Rivera | Logout

How to convert a tab-separated file into a comma-separated file?

Asked 2010-08-18T05:57:02.070
47

I want to convert a tab-separated file into a CSV file. Can anyone help me?

Edit
Report

1 Answer

-2

Try replacing all the tabs with commas.

Possibly with a regex like s/\t/,/g, if you don't have any quoted fields.

Or, you know, Excel could do that for ya. Or R. Or anything which can take in a TSV file.

answered 2010-08-18T06:00:08.057

Your Answer