skip to main
|
skip to sidebar
Thursday, September 27, 2012
Remove ^M with Vi
Every now and then I need to strip ^M characters from a file while using vi and too many times I've tried to remember the following and can't commit this to memory :P
:%s/[ctrlkey+v and ctrl-key+M]//g
I end up having to google it and end up at
http://thedaneshproject.com/posts/how-to-remove-m-character-with-vi/
So, ya, I've put it here also :) Thanks thedansehproject!
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Podcast Venue at RN
Check out music from The Sault Metal Scene
Followers
Blog Archive
►
2017
(1)
►
November
(1)
►
2014
(4)
►
November
(1)
►
August
(1)
►
June
(1)
►
March
(1)
►
2013
(4)
►
October
(1)
►
September
(1)
►
April
(1)
►
January
(1)
▼
2012
(13)
►
December
(2)
▼
September
(1)
Remove ^M with Vi
►
July
(1)
►
June
(1)
►
May
(1)
►
April
(1)
►
March
(1)
►
February
(1)
►
January
(4)
►
2011
(10)
►
December
(4)
►
November
(1)
►
October
(1)
►
August
(2)
►
May
(1)
►
February
(1)
►
2010
(19)
►
September
(3)
►
August
(2)
►
June
(1)
►
May
(4)
►
April
(1)
►
March
(5)
►
January
(3)
►
2009
(9)
►
December
(2)
►
July
(6)
►
June
(1)
No comments:
Post a Comment