运行shell脚本,报syntax error: unexpected end of file 或报syntax error in conditional expression 等情况
用notepad++写shell脚本,但是执行的时候会报错。
目前写的shell脚本都报过以下错误:
syntax error near unexpected token `$’do\r”
syntax error in conditional expression
syntax error: unexpected end of file
syntax error near unexpe...
原创
2019-03-21 15:22:10 ·
3403 阅读 ·
0 评论