in reply to Convert text file format

You can probably use a dos2unix utility.