DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Replace Unix Carriege Return With Vi

11.13.2008
| 3987 views |
  • submit to reddit
        Remove ^M characters at end of lines in vi
:%s/\r/\r/g