What if the script written under windows runs in the wrong format under mac
The script written below windows runs in the wrong format under mac. I believe many inexperienced people don't know what to do about it. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
The script written under windows is not in the correct format under mac
At this time, we can change the format and do the following
Vim xxx.sh- > enter:-> set ff=unix- > enter confirm-> enter:-> wq- > enter Save exit
After reading the above, do you know what to do when the script written under windows runs in the wrong format under mac? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!