win系统使用WSL写shell,运行出错:syntax error near unexpected token `$’do\r”

notepad++下面改写shell,运行出错:syntax error near unexpected token `$’do\r” 问题 在win系统下,用notepad++写了个简单的shell脚本,内容如下: 但是运行出错: 解决过程 1.网上搜了下,参考:linux shell脚本报错:syntax error near unexpected token ` 然后去notepad++中,
相关文章
相关标签/搜索