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

时间:2017-08-31 11:36:46   收藏:0   阅读:1030
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.

原文:http://www.cnblogs.com/zhaoyaxing/p/7457463.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!