码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-08-31 12:48:46      阅读:956      评论:0      收藏:0      [点我收藏+]

标签:error   ror   hat   rip   warning   erro   line   sed   ted   

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')

标签:error   ror   hat   rip   warning   erro   line   sed   ted   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!