Tuesday, 26 January 2016

Covert Space delimited file to Tab delimited file

Unix has its own wonders, one of it quick help came to me, while I wanted to convert a text file in which values are separated by single space to a tab separated values. I used the following commands to convert

 sed 's/ /\t/g' filename.txt > filename.new.txt.


No comments:

Post a Comment