> :%s/(ctrl)M//g
>
> That'll fix it.

Actually, I think you'll have to type

:%s/(control-V)(control-M)//

The control-V will "escape" the next character.  If you don't type it, 
vi will interpret the control-M as an [enter] and run your command 
immediately.  Also, you don't technically need the "g" at the end 
because there will only be one control-M per line.

$0.02,
Jeff

Attachment: pgpIpEgifadXL.pgp
Description: PGP signature

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to