I need to be able to perform the equivalent of the unix2dos command from within vi. Among several failed attempts, here is one:
where ^M is actually ^V^M
Incidentally, I got dos2unix working fine by doing:
Any ideas on unix2dos? The actual program is messed up on my system and I'd much rather be able to do it by hand with a simple global replacement.