I have a tab delimited file with many lines, one for each record.
each line is tab delimited with a tab before the first data field, a tab between each data field, and a tab after the last data field before it moves onto the next line.
I need to remove only the preceeding tab before the first data field and the tab after the last data field.
I'm sure this can be done with sed, but I don't really know the command that well.
Can anyone help?