From: Rick Rezinas Date: 2001-12-15T08:47:20+09:00 Subject: [ruby-talk:28557] Re: help with ^M (line endings ) removing you can try dos2unix, a common command-line tool, or inside vi: :g/^v^m/s/// rick On Sat, 15 Dec 2001, Dinakar Desai wrote: > Hello: > > I have some files that were created in windows. When I use vi editor > the line ending shows as ^M. what is the easiest method to remove > them. > Thank you. > > Dinakar On Sat, 15 Dec 2001, Vincent Foley wrote: > If you use vim, try this: > :set ff=unix > > On Sat, Dec 15, 2001 at 08:23:17AM +0900, Dinakar Desai wrote: > > Hello: > > > > I have some files that were created in windows. When I use vi editor > > the line ending shows as ^M. what is the easiest method to remove them. > > Thank you. > > > > Dinakar > > > > > > > > -- > > Vincent Foley-Bourgon > Email: gnuvince@yahoo.ca > Homepage: http://darkhost.mine.nu:81 >