Remove carriage returns from DOS-formatted text files using Vim

Updated . Posted . Visible to the public.

If you need to strip carriage return characters from a text file, you can use Vim:

vim file.txt
:set ff=unix
:wq
Henning Koch
Last edit
Keywords
line, break, line, feed
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2011-05-16 09:47)