`

cygwin shell syntax error near unexpected token

阅读更多
cygwin shell syntax error near unexpected token

This is a common error and the reason is your are using Windows to create the file. Thus the line break is \r\n rather than \n.

All you need to do is change the format using a system command:

dos2unix filename_here
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics