Quantcast
Channel: convert txt file to csv seperated with tabs - Ask Ubuntu
Browsing all 3 articles
Browse latest View live

Answer by David Foerster for convert txt file to csv seperated with tabs

Ok, so you need to replace the first two and the last space in every line with a comma. You can't just replace every space, because the 3rd field may contain spaces itself. You can do this with regular...

View Article


Answer by Xen2050 for convert txt file to csv seperated with tabs

A web search for "replace space with comma" was very fruitful, didn't that work out for you first? Would've found lots of answers like this: tr ' ' ',' < input > output or for tabs: tr '\t' ','...

View Article


convert txt file to csv seperated with tabs

Sorry people I'm new to Linux, and while I looked through the list of answered questions, I don't know enough to recognize if my question was answered. Or if I can adapt one of the answer to my...

View Article
Browsing all 3 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>