How to replace NUL in vi?
I have a NUL character in my text file. (If I do 'ga' on that character it prints NUL.) How do I replace this character with something else?
I am usi开发者_如何学Cng GVIM on Windows.
:%s/[\x0]//g
http://vim.1045645.n5.nabble.com/search-for-null-td1194026.html
:s/\x0//g
should do the work.
精彩评论