in reply to Re: Re: ^M gets added to the end of the line while replacing strings
in thread ^M gets added to the end of the line while replacing strings

'vi' on linux is actually vim, and it "helps" by dealing with ^M characters transparently.

To have vim show them with the ^M display you're used to, use vim -C name_of_win_file.

--Bob Niederman, http://bob-n.com
  • Comment on Re: Re: Re: ^M gets added to the end of the line while replacing strings