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
|