skip to main
|
skip to sidebar
Things to Remember
Monday, February 01, 2010
Removing ^M characters (windows line endings) using VIM editor
Removing \r\n (windows line endings) in VIM editor
In vi, you can remove the carriage return ( ^M ) characters with the following command:
:1,$s/^M//g
Note: To input the ^M character, press Ctrl-v , then press Enter or return.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2016
(1)
►
Feb 2016
(1)
►
2012
(1)
►
Jan 2012
(1)
►
2011
(3)
►
May 2011
(1)
►
Apr 2011
(2)
▼
2010
(3)
►
Nov 2010
(1)
▼
Feb 2010
(2)
Piece-wise Aggregate Approximation
Removing ^M characters (windows line endings) usin...
►
2009
(1)
►
Oct 2009
(1)
►
2008
(7)
►
Jul 2008
(1)
►
Jun 2008
(2)
►
Apr 2008
(1)
►
Mar 2008
(3)
►
2007
(3)
►
Apr 2007
(1)
►
Feb 2007
(1)
►
Jan 2007
(1)
►
2006
(6)
►
Dec 2006
(3)
►
Nov 2006
(3)
About Me
Unknown
View my complete profile
No comments:
Post a Comment