How can I convert a DOS/Windows text file to a Unix text file?
Use these Solaris commands: dos2unix unix2dos The former removes the ^M and ^Z characters and the latter adds them. See man dos2unix and man unix2dos for details.