Daily Archives: August 22, 2011

vim: replace the windows ^M character under Linux

Within VIM, there is a way to replace all the return carriage from Windows (that appear as ^M) by replacing them with the Linux version: % s/^M/\r/g% s/^M/\r/g When \r stands for the return carriage in Linux (not \n as … Continue reading

Posted in Computer Science | Tagged | Leave a comment