Never been to TextSnippets before?

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 (or not, you can keep them private!)

About this user

Skybly http://www.the-witch.net

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

Remove ^M characters using vi

To remove all "^M" characters from a file, open it in vi and use this command:
:%s/^M//g

The "^M" in the above line has to be typed in by pressing CTRL+v and then CTRL+M.
« Newer Snippets
Older Snippets »
1 total  XML / RSS feed