type: man dos2unix
 
If you don't have the dos2unix command on your system, you can always use:
 
tr -d '\015' <dosfile >unixfile
 
Also, most versions of ftp (although I haven't tried ncftp) can remove the CRLF during the put. Check for ascii/binary setting prior to issuing put.
 
Steve Cowles
 
-----Original Message-----
From: cana rich [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 10, 2002 6:45 PM
To: [EMAIL PROTECTED]
Subject: HOW TO : convert DOS file in Unix format

Hello,

   I am using RedHat7.2. I copy file from Windows via ftp (ncftput) and i would like this file be in Unix format (without ^m and the end of each line)

Thanks for your help

Canarich



Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en français !

Reply via email to