TechNews from the city of NewJoke

To remove the ^M characters at the end of all lines in vi

To remove the ^M characters at the end of all lines in vi, use: :%s/^V^M//g The ^v is a CONTROL-V character and ^m is a CONTROL-M. When you type this, it will look like this: :%s/^M//g

Powered by WordPress | Designed by Elegant Themes