LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Closed Thread
  Search this Thread
Old 09-18-2005, 02:26 AM   #1
Prasun1
Member
 
Registered: Jun 2005
Posts: 41

Rep: Reputation: 15
here document `EOF' unclosed


Hi all,

I am submitting this problem for the second time. In one my shell script I have incorporated the following code

if [ $choice -eq 1 ]
then
constraints = `sqlplus -s $OracleId 2>/dev/null << EOF
set heading off;
set verify off;
set feedback off;
select count(*) from user_constraints where table_name='$table_name';
exit;
EOF`
..........
..........
After this I have successfully closed the if loop. Now when I am running this programme I am receiving a strange error viz.

undo.sh: here document `EOF' unclosed (undo.sh is the name of the shell script)

I really don't know how shall I solve this problem.

Any help regarding this will be highly appreciated.I am really looking forward towards your help. I know that normally a user's problem does not get unnoticed in this forum.But this is really urgent !!!!


Thanks
Prasun
 
Old 09-18-2005, 06:51 AM   #2
eddiebaby1023
Member
 
Registered: May 2005
Posts: 378

Rep: Reputation: 33
I've answered this in your other thread. Please don't double-post.
 
Old 09-18-2005, 07:11 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
here document `EOF' unclosed Prasun1 Linux - General 7 06-27-2007 04:14 AM
EOF finding Goblin_C_Noob Programming 7 09-10-2005 09:58 AM
how do i create a document, then a directory and save the document in it. jtdodge Linux - Newbie 9 06-15-2005 11:03 AM
Convert openoffice document into ms document through cli? bruno buys Linux - Software 0 07-05-2004 09:59 AM
<< Eof ? sikandar Linux - Software 5 09-18-2003 11:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration