It seems like if you were creating/editing files in windows and re-editing in unix later. When I have that symbols I do this in my console.
> dos2unix original_file.txt newfile.txt Use it maybe it helps you. > ----- Original Message ----- > From: "Tom Phoenix" <[EMAIL PROTECTED]> > To: "Eugeny Altshuler" <[EMAIL PROTECTED]> > Subject: Re: how to work with ^@ ^M ^D etc. ? > Date: Wed, 8 Mar 2006 09:20:10 -0800 > > > On 3/8/06, Eugeny Altshuler <[EMAIL PROTECTED]> wrote: > > > How to replace character which looks in vim like ^@ ^M ^D ? > > It looks as if you're talking about "control characters". In Perl's > double-quoted strings, and similar places, you may use "\cX" to denote > "control-X". So you could write code like this, perhaps, if you wished > to replace every control-M with three #-signs. > > s/\cM/###/g; > > There are other odd characters than control characters. You can see > how to specify them in Perl in the perlop manpage. Hope this helps! > > --Tom Phoenix > Stonehenge Perl Training > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > -- _______________________________________________ Get your free email from http://mymail.bsdmail.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>