Linux錯誤:warning: here-document at line 5 delimited by end-of-file (wanted `EOF`
shell 指令碼執行‘warning’:
執行此test.shell報如下錯:
warning: here-document at line 17 delimited by end-of-file (wanted `EOF')
原因是末尾的EOF後面帶有空格,EOF前後都不應有空格或其他符號。
去掉EOF兩邊的空格和符號後,執行通過。
相關推薦
Linux錯誤:warning: here-document at line 5 delimited by end-of-file (wanted `EOF`
shell 指令碼執行‘warning’: 執行此test.shell報如下錯: warning: here-document at line 17 delimited by end-of-file (wanted `EOF') 原因是末尾的EOF後面帶有空格,EOF前
open數據庫報錯ERROR at line 1: ORA-03113: end-of-file on communication channel Process ID: 3880 Session ID: 125 Serial number: 3
conn ret enc ora- 日誌記錄 line comm per and 1.今天打開數據時,失敗,報錯 ERROR at line 1:ORA-03113: end-of-file on communication channelProcess ID: 3880S
EOF:warning: delimited by end-of-file
最近在寫shell指令碼處理自動輸入 打算用" <<EOF EOF“。但是執行時遇到問題: line 16: warning: here-document at line 14 delimited by end-of-file (wanted `EOF
php錯誤:Warning: mkdir(): No such file or directory
Warning: mkdir(): No such file or directory if(!is_dir(‘customimages/album/’.KaTeX parse error: Expected '}', got 'EOF' at end of input: …images/a
ubuntu 下 make 編譯錯誤:undefined reference to cv::line
在編譯一個專案時候出現 “undefined reference to cv::line” 的錯誤,是在連結其中一個靜態庫的時候出現的錯誤,錯誤如下: /home/build/lib/libapriltags.a(TagDetection.cc.o): In function `AprilTag
mysql 5.5升級5.6報錯:ERROR 1193 (HY000) at line 84: Unknown system variable 'have_csv'
首先登陸資料庫沒有問題呀,但是有報錯, 文字顯示: ERROR 1193 (HY000) at line 84: Unknown system variable 'have_csv' ERROR 1064 (42000) at line 86: You have an error in yo
啟動tomcat是出現錯誤( Parse Fatal Error at line 1 column 1: Content is not allowed in prolog.)
2010-3-8 9:38:58 org.apache.coyote.http11.Http11Protocol init 資訊: Initializing Coyote HTTP/1.1 on http-8080 2010-3-8 9:38:58 org.apache.c
Linux 錯誤: $'\r': command not found
Question 前段時間寫指令碼出現了$'\r': command not found問題。 #指令碼部分內容 #!/bin/sh -x SCRIPT_PATH=$(cd `dirname
PHP錯誤:Warning: Cannot modify header information
如果在執行php程式時看到這條警告:"Warning: Cannot modify header information - headers already sent by ...." Few notes based on the following user posts:有
【linux錯誤】HTTPS無法開啟:curl: (35) Encountered end of file 和 linux上安裝composer
需求:在linux上安裝composer(該指令是tp5手冊上的)[[email protected] wx.xiyang66.top]# curl -sS https://getcompos
錯誤:cc1: error: unrecognized command line option “-m32”
作業系統:RHEL5.1-Server 編譯器:gcc 4.1.2 工程:x264-snapshot-20120817-2245 問題:在編譯安裝 x264 時出現下列錯誤 解決方案:找到工程中Makefile檔案,將其中 “-m32" 字串刪除即可。 原因:
字符集不同引發的MySQL的1366錯誤:Warning: #1366 Incorrect string value...
今天在phpMyAdmin新建了一個數據庫:news,news裡有一個表:newslist。在向表中插入中文資料時出現了錯誤,錯誤如下圖: 點選“瀏覽”,表中title項出現一系列“?”號,如下圖: 這個錯誤是MySQL的1366錯誤,導致此錯誤的原因是:資料庫此欄位
ruby on rails模擬HTTP請求錯誤發生:end of file reached
ats ace post result tcs 後來 nec scu microsoft 在文章 Ruby On Rails中REST API使用演示樣例——基於雲平臺+雲服務打造自己的在線翻譯工具 中,利用ruby的Net::HTTP發起http請求訪問IBM Blu
linux 下出現 SHELL syntax error:unexpected end of file 提示錯誤
shell syntax error 基本上可以判斷是字符異常錯誤首先註釋掉盡快會出錯的代碼,然後進行判斷如果代碼沒有問題,可以修改字符格式vim文本下,esc推出編輯模式 :set fileformat unix ,最後:wq 保存 ,錯誤消失。 參考http://blog.csdn.net/
PHP錯誤Parse error: syntax error, unexpected end of file in test.php on line 12解決方法
空格 短標簽 後來 成了 出現 提示 分享 也會 出錯 今天在寫PHP程序的時候總是出現這樣的錯誤:Parse error: syntax error, unexpected end of file in *.php on line *,然後我就根據提示,找到那個文件,然後
Idea 中提示:Warning:java: 源值1.5已過時, 將在未來所有發行版中刪除
java pil ava proc ber log prop clas 刪除 POM文件中添加: <properties> <maven.compiler.source>1.8</maven.compiler.source> &
IDEA中提示:Warning:java: 源值1.5已過時, 將在未來所有發行版中刪除
問題描述: 執行Java Web專案時,IDEA中提示:Warning:java: 源值1.5已過時, 將在未來所有發行版中刪除 解決方法: 1. 開啟【File】—【Project Structure】,找到以下兩個地方: Project Structure->
MongoDB排序錯誤:Sort operation used more than the maximum 33554432 bytes of RAM
錯誤描述 我用如下命令查詢某一個鍵的最大值: db.video_info.find().sort({'vid':-1}) 出現如下錯誤: Error: error: { "ok" : 0, "errmsg" : "Executor error
linux筆記:SSH無法連線之"connection reset by ip_address port 22"問題解決
文章目錄 場景: 解決方案 場景: 購買了兩臺七牛雲主機QVM1和QVM2,同一個VPC內。同時,QVM1通過本地ssh連線(公網)無誤,但是通過QVM1的ssh連線(內網)QVM2報錯 解決方案 QVM2不能SSH連線,可以通過七牛
maven編譯錯誤:不再支援源選項 1.5,請使用 1.6 或更高版本。
1.在pom.xml了新增下面程式碼<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compil