[vi] How to replace text in vi editor
– In vi editor
– Replacing (:%s///g)
%s/^M//g
^M is “Ctrl+v+enter”