shell 脚本执行‘warning’:
执行此test.shell报如下错:
warning: here-document at line 17 delimited by end-of-file (wanted `EOF')
原因是末尾的EOF后面带有空格,EOF前后都不应有空格或其他符号。
去掉EOF两边的空格和符号后,执行通过。
shell 脚本执行‘warning’:
执行此test.shell报如下错:
warning: here-document at line 17 delimited by end-of-file (wanted `EOF')
原因是末尾的EOF后面带有空格,EOF前后都不应有空格或其他符号。
去掉EOF两边的空格和符号后,执行通过。