DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

nxnwaus's picture

Unregistered

Feeds

aliases

  • nxnwaus

nxnwaus

5 years ago

in Remove ^M characters at end of lines in vi | UNIX | Tech-Recipes on Tech-Recipes
type the following command:

:%s/<control-v><control-m>//g

^M is the result of a control V, control M at the end of the line. if you actually hit control-v then control-m, "^M" will appear and will get rid of the character at the end of the line. hope this helps someone!!!
1 reply
roy You are a genius
roy@roy.com
Returning? Login