0
我在執行以下腳本片段時遇到了一個問題。將sql輸出重定向到shell腳本中的文件
$ORACLEHOME/bin/sqlplus -s $DBUSER/$DBPASSWORD <<EOF
set pages 0 feedback off
SELECT * FROM ERR_STG_ROAMING_PARTNER;
EOF > Err_File.txt
顯示以下錯誤消息。
./Roaming.sh: line 213: warning: here-document at line 206 delimited by end-of-file (wanted `EOF')
./Roaming.sh: line 214: syntax error: unexpected end of file
任何幫助將不勝感激。
謝謝隊友!很好的幫助! – GSG