Vi substitution question?

Oommen Thomas oommen at imaginetechnologies.com
Tue Apr 4 11:30:41 EDT 2000


Try \r instead of ^M

-
Oommen

On Tue, 4 Apr 2000, Phil Buckley wrote:

<phil>I just had a windows guy muck up a perl file and now each line ends with the dreaded "^M".
<phil>
<phil>My problem is I try to run :1,$s/^M//g but it doesn't seem to see the ^M's, is there a key combo I should be using besides the carrot on top of my 6 key to put in that "^" ?
<phil>
<phil>Thanks
<phil>Phil

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list