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

时间: 2024-11-05 12:25:20

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

ImportError: libmysqlclient.so.18: cannot open shared object file: No such file or directory

情景:在python中使用mysql 已知: [[email protected] muahao03]# pip list Django (1.7.1) MySQL-python (1.2.5) pip (1.5.6) pysqlite (2.6.3) setuptools (8.2.1) wsgiref (0.1.2) 已经安装 MySQL-python 报错: ImportError: libmysqlclient.so.18: cannot open shared object file:

warning: here-document at line 7 delimited by end-of-file (wanted `rui')

[root@yrzl-cloud-aio ~]# sh b.shb.sh: line 12: warning: here-document at line 7 delimited by end-of-file (wanted `rui')b.sh: line 13: syntax error: unexpected end of file[root@yrzl-cloud-aio ~]#[root@yrzl-cloud-aio ~]#[root@yrzl-cloud-aio ~]# lsanaco

[问题]org.mybatis.generator.exception.XMLParserException: XML Parser Error on line 18: 对实体 "characterEncoding" 的引用必须以 ';' 分隔符结尾。

在使用mybatis-generator逆向生成的时候回遇到 org.mybatis.generator.exception.XMLParserException: XML Parser Error on line 18: 对实体 "characterEncoding" 的引用必须以 ';' 分隔符结尾. 这个是因为 jdbc:mysql://127.0.0.1:3306/foodie?serverTimezone=UTC&characterEncoding=utf8&

诚龙网维ERROR:Unable to control A20 line!XMS Driver not insta

使用诚龙网维或是其他网克软件通过PXE网络启动或是U盘启动进入GHOST时提示如下错误信息: ERROR:Unable to control A20 line!XMS Driver not installed. Warning:the high memory area (HMA) is not available. Additional low memory (below 640K) will be used instead. 此报错原因是因为部分新机的CPU不能被CPU(A20)地址识别,高位

ERROR:Unable to control A20 line!XMS Driver not installed

使用诚龙网维或是其他网克软件通过PXE网络启动或是U盘启动进入GHOST时提示如下错误信息: ERROR:Unable to control A20 line!XMS Driver not installed. Warning:the high memory area (HMA) is not available. Additional low memory (below 640K) will be used instead. 此报错原因是因为部分新机的CPU不能被CPU(A20)地址识别,高位

An error occurred at line: 1 in the generated java file问题处理

tomcat6启动后,加载jsp页面报错,提示无法将jsp编译为class文件,主要报错信息如下: An error occurred at line: 1 in the generated java file 最后确认该错误原因为:tomcat6不支持jdk1.8版本 修改jdk为1.7,刷新工程,通过!

DedeCMS Error Warning!Technical Support:DedeCms错误警告

当前位置:主页 > dedecms > dede模板标签使用说明 > DedeCMS Error Warning!Technical Support:DedeCms错误警告(2) 解说,最好有步骤的,我是小白!1.这是提示您的数据库链接失败,可能你下载的模板包含了data文件夹,修改下文件配置就可以了.多素材给你个参考方法2.打开\data\common.inc.php文件3.织梦CMS(dedecms)的数据库连接文件内容如下:<?php//数据库连接信息$cfg_dbhost

解决:sudo: parse error in /etc/sudoers near line 24 ...报错

ubuntu系统下由于添加用户权限的时候直接用的vim对 /etc/sudoers 文件编辑,保存退出的时候,再使用sudo su 等等命令一直报错如下: sudo: parse error in /etc/sudoers near line 24 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin 原因是直接用vim修改文件时报错,参考Google说,应该用visudo命

X-code7 beta error: warning: Is a directory

不知道这个变态的问题是不是只有我遇到了,使用X-code7 beta 的时候报这个无厘头的错误   error: warning: Is a directory.你根本找不错误的原因. 看过IT狂人的都知道一句很经典的话:你试过开机重启吗?  同样,这里你clean一下,不要问我怎么clean,我不会告诉你 product -> clean 或者command + shift + k.当然你clean了不会就好使,但是Xcode就会告诉你错误的原因了,最起码是可读的错误. 版权声明:本文为博主原