But, to remove %M from file in vi / vim use this command in vi
:s/[CTRL + V][CTRL + M]//g
Note that [CTRL +V] is to press CTRL + V on the keyboard as well as [CTRL + M]
That's the replace pattern (:s/[pattern]/[replace]/) in vim and /g is to replace all occurence in a file.
No comments:
Post a Comment