[wplug] vi question

Scott Eicher Scott.Eicher at e-Profile.com
Thu Jul 3 11:06:22 EDT 2003


For you vi users I have a question:

I would like to delete all ^M control characters from an ascii file. Here is
what I tried to accomplish this but it doesn't work:

:%s/\^M//g

It gives me this message:

Substitute pattern match failed

I'm thinking that I'm not specifying the ^M properly but I'm not sure how
else to specify it.

Any help would be appreciated.

Thanks,
Scott



More information about the wplug mailing list