The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 See also:
Author: Dan Langille 
Date:   14-01-03 22:34

See also <a href="http://www.freebsddiary.org/phorum/read.php?f=4&i=125&t=125">http://www.freebsddiary.org/phorum/read.php?f=4&i=125&t=125</a>.

Reply To This Message
 
 The VIM way
Author: m.hassan 
Date:   26-08-04 17:57

In VIM (both windows and UNIX), the preferred approach is
to use \r instead of ^V^M.

:%s/\r//

will do it. I assume you can use "\r" similarly in perl but
have not tested it.



Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org