Linux

Removing annoying ^M characters in VI

Removing annoying ^M characters that show up in files after edited on a Windows box.

:%s/[ctrlkey+v and ctrl-key+M]//g

And in VI the command shows like:

:%s/^V^M//g

Leave a Reply


}) _0- O-) ;) ;( :{ :o :Y :X :P :N :D :@ :? :9~ :) :(