in reply to Convert text file format

DOS format has CRLF ("\r\n") line endings. UNIX format has LF ("\n") line endings. So you effectively just need to substitute one for the other.

-- Ken