Substitute command on vi

Denis R. darom at filmkern.com
Fri May 5 17:40:18 UTC 2006


Try
#dos2unix file_name

>>>>>>>>>>
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



More information about the freebsd-questions mailing list