Remove ^M characters from xhtml file

Marc Wiz marc at wiz.com
Tue Dec 2 15:08:00 PST 2003


On Tue, Dec 02, 2003 at 04:58:06PM -0600, James Schmidt wrote:
> Using Vi, use this command
> 
> :1,$ s/<ctrl-v><ctrl-m>//g

To save two keystrokes try this :-)

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

Marc
-- 
Marc Wiz
marc at wiz.com
Yes, that really is my last name.


More information about the freebsd-questions mailing list