I have a tab delimited file like this:chr1    53736473        54175786chr1    56861276        56876438chr1    57512145        57512200I want to concatenate the three fields result like this:chr1:53736473-54175786chr1:56861276-56876438chr1:57512145-57512200I tried with paste -d ':-' file, which apparently didn't work. Could anyone help?Ideally could be with simple unix command, I know it is rather easy with higher language. 
Concatenate different fields with different seperator
text processing;paste
With sed:$ sed 's/\(.*\)\t\(.*\)\t/\1:\2-/' filechr1:53736473-54175786chr1:56861276-56876438chr1:57512145-57512200printf:printf %s:%s-%s\n $(< file)chr1:53736473-54175786chr1:56861276-56876438chr1:57512145-57512200