input01.sh: line 11: warning: here-document at line 4 delimited by end-of-file (wanted `EOF') input01.sh: line 12: syntax error: unexpected end of file
写了个脚本用cat>>EOF报错如下:
input01.sh: line 11: warning: here-document at line 4 delimited by end-of-file (wanted `EOF')
input01.sh: line 12: syntax error: unexpected end of file
原因:最后的EOF多了个空格,取消即可。
如对您有帮助,支持下呗!
微信
![](https://files.cnblogs.com/files/Dev0ps/WeChat.gif)
支付宝
![](https://files.cnblogs.com/files/Dev0ps/Alipay.gif)