converting a text file to excel file using sed