Read more

Remove carriage returns from DOS-formatted text files using Vim

Henning Koch
May 16, 2011Software engineer at makandra GmbH

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

vim file.txt
:set ff=unix
:wq
Illustration money motivation

Opscomplete powered by makandra brand

Save money by migrating from AWS to our fully managed hosting in Germany.

  • Trusted by over 100 customers
  • Ready to use with Ruby, Node.js, PHP
  • Proactive management by operations experts
Read more Show archive.org snapshot
Posted by Henning Koch to makandra dev (2011-05-16 11:47)