开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜