Quote:
Originally Posted by visitnag
I have a print file which is having so many ^M (Ctrl-M) characters. How can I replace or delete these using vi editor? or any other solution (sed?)
|
:%s/ctrl-vctrl-m//g
where you see ctrl-v i mean press ctrl-v, and where you see ctrl-m, i mean press ctrl-m.