运行shell脚本提示

test.sh: line 6: syntax error near unexpected token `$'do\r''
'est.sh: line 6: `do

使用sublime text将文件格式转换为UNIX格式

运行shell脚本提示syntax error near unexpected token `$'do\r''

 

相关文章:

  • 2021-12-16
  • 2022-12-23
  • 2021-09-26
  • 2021-07-09
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-31
  • 2021-05-30
  • 2022-12-23
  • 2022-12-23
  • 2021-04-24
相关资源
相似解决方案