Remove DOS line endings (^M) in Vim
The recommended way to remove DOS line endings (^M) in Vim is the following :s
command.
:%s/\r//
Source: http://vim.wikia.com/wiki/Change_end-of-line_format_for_dos-mac-unix
The recommended way to remove DOS line endings (^M) in Vim is the following :s
command.
:%s/\r//
Source: http://vim.wikia.com/wiki/Change_end-of-line_format_for_dos-mac-unix