首页 > 技术文章 > 解决执行脚本报syntax error: unexpected end of file或syntax error near unexpected token `fi'错误的问题

winfosy 2018-08-19 02:15 原文

  直接输入":",然后在":"之后输入"set ff"如下图所示

  我们需要把格式改为unix,方法是输入":set ff=unix",也可以输入":set fileformat=unix"如下图所示。

推荐阅读