CR LF in vim raise self.ParseError('Expected "%s".' % token) google.protobuf.text_format.ParseError: 15:13 : '

$ find misc -type f ! -iname "*.pklz" | xargs dos2unix

https://www.cnblogs.com/jasonboren/p/12337002.html

 

https://askubuntu.com/questions/1034725/how-to-remove-carriage-return-in-vi

 

 

I finally found an answer elsewhere:

:set noendofline binary

Removes the final new line when the file is saved.

posted on 2021-02-08 17:06  cdekelon  阅读(59)  评论(0)    收藏  举报

导航