If there are ^M at the end of every line when you view them in vim, you can do this: :%s/^M//g To get the “^M” bit, hit ctrl-v and then ctrl-m.
Below you'll find a list of all posts that have been tagged as “new line”
If there are ^M at the end of every line when you view them in vim, you can do this: :%s/^M//g To get the “^M” bit, hit ctrl-v and then ctrl-m.