in a windows text file a new-line is represented by 13 10, but in linux it is represented by only 10...

i want to delete the 13 from my text files so that it shows only 10 and is compatible with linux..

logically my code is perfect, and i cant spot any errors...all my collegues have reviewed it too..

but still the 13 is not getting deleted..

please tell me how to delete the 13