On the UNIX side, you can also use the dos2unix and unix2dos commands.
That depends on the UNIX; Digital UNIX 4.0, for example, doesn't have those commands, unless they're in a component we didn't install:
hostname$ uname -sr OSF1 V4.0 hostname$ dos2unix ksh: dos2unix: not found hostname$ unix2dos ksh: unix2dos: not found
The same applies to HP-UX 11.00:
hostname$ uname -sr HP-UX B.11.00 hostname$ dos2unix ksh: dos2unix: not found hostname$ unix2dos ksh: unix2dos: not found
and, for that matter, to whatever version of Red Hat Linux is on some machines here:
hostname$ uname -sr Linux 2.2.14-6.1.1 hostname$ dos2unix ksh: dos2unix: not found hostname$ unix2dos ksh: unix2dos: not found
I would not, however, be surprised to hear that there's a GNU utility that'll convert between DOS/Windows and UNIX text file format.