On Wed, Jan 16, 2002 at 12:12:49PM -0800, Guy Harris wrote:
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:
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
it's called ux2dos on HPUX
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.
Correct, there's an RPM called unix2dos which can be installed.
Igor