in reply to Re^2: crlf to \n
in thread crlf to \n
It's possibly worth noting that merely changing the filetype fileformat (ff) in Vim won't repair
a file which has a mix of *nix and dos line-endings, and because of the
still massive userbase of a few specific Microsoft tools (that are brain-dead on
this score), such files are rather commonly encountered. In such a case one has
to actively do something, and if one wants to do something inside Vim, it ought
to work to do what dwm042 wrote in reply above.
In Section
Seekers of Perl Wisdom