in reply to Regex selection based upon position
(where the whitespace in the regex is meant to be a tab)sed -e 's/ /;/g' <YourFile.tsv >OutputFile.ssv
Update: This assumes consecutive tabs should be converted to the same number of consecutive spaces. Otherwise I think I would be more inclined with:
perl -e 'while( <> ){ s/(\t)+/\;/g; print $_; }' <YourFile.tsv >Output +File.scsv
-M
Free your mind
|
|---|