Remove ^M with VIM in linux

Last updated on August 23rd, 2014 at 07:49 am

How I do to replace this with a ‘normal’ line break?

Replace ^M to normal line break in many config files.

[code lang=”bash”]
:%s/<ctrl -V></ctrl><ctrl -M>//g
</ctrl>
[/code]

Discover more from Juzhax Technology

Subscribe now to keep reading and get access to the full archive.

Continue reading