> -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On > Behalf Of Eric Clapsaddle > Sent: Friday, April 15, 2005 3:06 PM > To: [email protected] > Subject: Re: FTP Win/2000 to Linux > > > I'm not sure about the underscore m but a common occurrence > is that Windows > puts a CRLF character at the end of each line. It displays as ^M. > There are a number of different ways to get rid of this. > > Open the file in vi and enter :g/^M/s///g Create the ^M by pressing > ctrl-v then enter. > Use a sed replacement script similar to the above syntax. > Change the Windows ftp client to not append anything. > > Eric Clapsaddle
I like the "dos2unix" to strip out excess ^M chars and "unix2dos" to put them in. I think that all current Linux system should have this. Your method is good for those who don't. -- John McKown Senior Systems Programmer UICI Insurance Center Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its' content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
