Replace ^M in VI
Sometime , you found ^M when you open a file in VIM This is gonna help you get through it. In VIM 1. Press colon (:) , prepare to input command 2. Use command :%s/ (press ctrl-v, then ctrl-m) ===> you get :%s/^M then :%s/^M/\n\r/ , then enter finally, everything should be ok :)