Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'vi instructions' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
vi instructions
Authored by: ret on Mar 08, '02 12:47:57AM

And if you've got a DOS-sourced file, it is:

:%s/^M//

By the way, to get the ^M, don't type a literal caret-m. Type ctrl-v then ctrl-m. The ctrl-v tells vi that the next char you type is a special character (this is how you embed an escape character or backspace also).

cheers
RET



[ Reply to This | # ]