Friday, September 12, 2014

Substitute spaces with tabs using awk

To substitute spaces with tabs in your file use awk:

awk '$1=$1' FS=" " OFS="\t" file > file_tab

No comments:

Post a Comment