On 2006-05-05 10:12, Aguiar Magalhaes <[EMAIL PROTECTED]> wrote: > Hi list, > > I need to substitute a lot of characters ^M (ctrl+M) > at the end of each line in my file. > > The command :%s/^M//g insn't have success.
The command looks fine, except for a tiny detail: Make sure you use ^V ^M to insert a *literal* ^M character in the match pattern, instead of two different characters '^' and 'M'. Then it should work. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"