On Fri, May 05, 2006 at 10:12:02AM -0300, Aguiar Magalhaes wrote:
> I need to substitute a lot of characters ^M (ctrl+M)
> at the end of each line in my file.

You might wanna give dos2unix a try: /usr/local/bin/dos2unix

> The command :%s/^M//g insn't have success.

Is this a shift+6 M, or a ctrl+V ctrl+M? The last one should work.

Riemer Palstra                                Amsterdam, The Netherlands
[EMAIL PROTECTED]                                http://www.palstra.com/
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to