help converting a windows text to linux text file

micsom's Avatar, Join Date: Oct 2008
Go4Expert Member
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
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Get an editor like Editplus or slick edit which does this for you
micsom's Avatar, Join Date: Oct 2008
Go4Expert Member
thanx, but i did it...all it needed was a little modification...as linux pads the entire vacent 32 bit...i had to take tht into concideration..

now my code is working fine..

thanx for ur help
gk123987's Avatar
Go4Expert Member
dos2unix filename