Knowledgebase
vi helpful commands
to remove ^M in vi type
:%s/[ctrl]v[ctrl]m//g
to save as unix type:
:set filetype=unix
13ww (copies 13lines)
p (paste)
:%s/[ctrl]v[ctrl]m//g
to save as unix type:
:set filetype=unix
13ww (copies 13lines)
p (paste)
Post Date: 2015-02-22 18:28:56 · Tags: Knowledgebase,