Re: how to work with ^@ ^M ^D etc. ?

2006-03-10 Thread Eugeny Altshuler
How to replace character which looks in vim like ^@ ^M ^D ? s/\cM/###/g; Great! Thanks! Altshuler Eugeny -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

how to work with ^@ ^M ^D etc. ?

2006-03-08 Thread Eugeny Altshuler
How to replace character which looks in vim like ^@ ^M ^D ? I try to parse file generated by soft to my mobile for comfort reading. Thanks, Altshuler Eugeny -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: how to work with ^@ ^M ^D etc. ?

2006-03-08 Thread Tom Phoenix
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,

Re: how to work with ^@ ^M ^D etc. ?

2006-03-08 Thread Rafael Morales
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