I've got a file of IDs that basically looks as follows :
and I want to edit that file (into another file) and swap the data elements around so that it looks like :
(ie 5 char code followed by 9 char code)
How can I do that in one statement? I managed to use cut so that that I could get the 9 chars :
cat file_in | cut -c0-9 > file_out
but that's not enough. Do I need a sed statement?