sh运行时报错,
syntax error near unexpected token `$’do\r”
在notepad++中,在编辑
转换成unix格式,就可以了。
因为windows的格式是这样的,在执行时会报错。
转换后:执行就正确了。
sh运行时报错,
syntax error near unexpected token `$’do\r”
在notepad++中,在编辑
转换成unix格式,就可以了。
因为windows的格式是这样的,在执行时会报错。
转换后:执行就正确了。