linux 替换回车为空格

:%s/\n/ /g   将回车符号替换

:%s/\r/ /g    将tab符号替换

文件中这个时候不会出现 ^M了

猜你喜欢

转载自cxr1217.iteye.com/blog/1412557
今日推荐