记录一个错误:
用nodepad++写一个简单的shell脚本,在编译服务器上运行始终报错:
syntax error: unexpected end of file
sh 并没有13行。
解决方式:
将文档转换成Unix格式,或者直接用vim编辑器编写。
Shell常见错误:syntax error: unexpected end of file
最新推荐文章于 2023-11-24 02:06:03 发布
记录一个错误:
用nodepad++写一个简单的shell脚本,在编译服务器上运行始终报错:
syntax error: unexpected end of file
sh 并没有13行。
解决方式:
将文档转换成Unix格式,或者直接用vim编辑器编写。