Quote:
|
Originally Posted by charan81
Hi,
Can anyone let me know on how to convert a Tab delimited file to Comma delimited file in Unix
Thanks!!
|
You can use
sed to convert the Tab delimited file to a comma delimited file
Code:
/export/home/test/mona>cat tab_del.dat
1 2 3 4 5
6 7 8 9 10
/export/home/test/mona>sed 's/ /,/g' tab_del.dat
1,2,3,4,5
6,7,8,9,10