How to remove ^M character from VI editor

Inside vi [in ESC mode] type: :%s/^M//g Note: To enter ^M, type CTRL-V + M. That is, hold down the CTRL key then press V and M in succession.

Popular posts from this blog

What are EAR, JAR and WAR files in J2EE?

ATG Issue - ConcurrentUpdateException - on BCC Deployment

How the competition helps to reduce the price of TEA?