On Fri, 2006-05-05 at 10:12 -0300, Aguiar Magalhaes 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.
> 
> How can i do it ?
> 
> Thanks,
> 
> Aguiar
> 
> 
>               
> _______________________________________________________ 
> Abra sua conta no Yahoo! Mail: 1GB de espa├žo, alertas de e-mail no celular e 
> anti-spam realmente eficaz. 
> http://br.info.mail.yahoo.com/
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

I also has it problem. I'm in Midnight Commander copy symbol '^M' and
paste to my script instead <???>(see below) :-/
script:
   sed -e 's/$/<???>/g' filename > filename.copy
It work. :)

-- 
Kalashnikov Ilya <[EMAIL PROTECTED]>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to