Thanks. One last question.
Here's a file with records separated with two tabs as shown below. I am trying to replace the tabs with just ", "(comma space)
'aaa' 'bbb'
to
'aaa', 'bbb'
Tried the below lines:
sed 's/[\t]/, /' file1.txt > file2.txt
sed "s/ */, /" file1.txt > file2.txt
They are substituting a character at the beginning of line.
Any help?