https://blog.csdn.net/weixin_42575593/article/details/83686244
[oracle@scaqad02adm01 lstorm]$ ./operation_stress_ancestor.sh ddd cdb1
/u01/wgz/lstorm/operation_stress_parent.sh: line 12: warning: here-document at line 4 delimited by end-of-file (wanted EOF') /u01/wgz/lstorm/operation_stress_parent.sh: line 12: warning: here-document at line 4 delimited by end-of-file (wanted
EOF’)
原因是末尾的EOF后面带有空格,EOF前后都不应有空格或其他符号。
去掉EOF两边的空格和符号后,执行通过