I have a script that is appending new fields to an existing CSV, however ^M characters are appearing at the end of the old lines so the new fields end up on a n
^M
In vi hit :.
:
Then s/Control-VControl-M//g.
s/Control-VControl-M//g
Control-V Control-M are obviously those keys. Don't spell it out.
Control-V
Control-M