shell 中EOF

[root@k8s-node2 conf]# sh -x test.sh
+ echo ' '

+ echo ' '

test.sh: line 21: warning: here-document at line 5 delimited by end-of-file (wanted `EOF')

修改成如下:

 末尾的EOF前后都不应有空格或其他符号。执行通过,

原文地址:https://www.cnblogs.com/vzhangxk/p/14362003.html