Shell script blank line caused: not found make.sh:

Execute shell script on Ubuntu

sh make.sh

Report an error

...
: not found make.sh:
: not found make.sh:
...

The reason is that the line feed under win is carriage return + line feed, that is \r\n, it is line feed under Unix \n. The make.sh file is exactly what I transferred from win to ubuntu.

Guess you like

Origin blog.csdn.net/weixin_43742643/article/details/113570605