Domanda

I need to produce a Tab Delimited CSV of a query pulled from a mySql database. I am using MySQL Query Browser to extract the data as ordenery CSV.

Does anyone know how to convert an ordinery -- comma seperated -- CSV into a Tab Delimited. I can't find a way to do it in nither Excel nor Open Office.

Manny thanks!

p.s. I'm working on a windows 7 machine.

È stato utile?

Soluzione

Linux?

sed 's/,/\t/g' commaDelimited > tabDelimited

Windows?

Open notepad, press TAB, select and copy the tab space. Open the CSV in notepad, Edit->Replace... fill , in the first box and paste your tab in the second box and just Replace All.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top