Remove ^M Characters At End Of Lines In vi
13 Dec 2009Sometime when converting text file from Windows to Linux will introduce unintended ^M
character for each of line.
:%s/^V^M//g
Tip: Pressing V and then M without releasing CTRL key.
Sometime when converting text file from Windows to Linux will introduce unintended ^M
character for each of line.
:%s/^V^M//g
Tip: Pressing V and then M without releasing CTRL key.