Error:warning: here-document at line 18 delimited by end-of-file (wanted `EOF')

Posted Feel Terror, Experience Terror

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error:warning: here-document at line 18 delimited by end-of-file (wanted `EOF')相关的知识,希望对你有一定的参考价值。

Context: wrote a script to get all ips for product but always get this error.
 
as below:
 
./getAllIps.sh: line 21: warning: here-document at line 18 delimited by end-of-file (wanted `EOF‘)
 
How to solve it?
  1. Add "set list" at .vimrc
  2. Open my script by vim
  3. There is did exist an blank space behind EOF.
  4. Remove this blank space.
 
What is "set list" ?
 
"Set list" can be used to show white blank spaces.

以上是关于Error:warning: here-document at line 18 delimited by end-of-file (wanted `EOF')的主要内容,如果未能解决你的问题,请参考以下文章

Git Error: warning: refname 'origin/branch-name' is ambiguous.

BugList 丨 Error:warning: Ignoring InnerClasses attribute for an anonymous inner class

redis 3 make error warning: unused variable ‘c’ [-Wunused-variable]

Error:warning: here-document at line 18 delimited by end-of-file (wanted `EOF')

error_reporting - PHP

正则表达式不分大小写匹配指定字符串