Linux/UNIX differences with vi and ftp ascii transfers
I have experience using Solaris 2.8 and HP-UX 11.0 (more end user than anything)
Now that we have started using RH Linux, there is a difference that I cannot resolve.
On the other unix machines, we would ftp files in ASCII mode from Windows machines and they had the correct eol characters once on the unix box.
And, if you blew it (or suspected someone else did), you could open the file in vi and see all the ^M characters.
Now, on Linux, we have had trouble with files ftp'd from windows machines and vi doesn't show the ^M characters.
Is this just the way it is, or is there a way to configure ftp to work differently? Is there some other program that can show the ^M characters?
(we have used dos2unix to repair files, but prefer to transfer them in a manner that precludes the need to do so)
|