title: issue with EOF command inside a shell script
body: <p>I have a code snippet which looks like below.</p>
  
  <pre><code>if [ $output -le 0 ]
  then
      echo 'no data present'
      echo "$ORACLEHOME/bin/sqlplus -s $DBUSER/$DBPASSWORD"
      $ORACLEHOME/bin/sqlplus -s $DBUSER/$DBPASSWORD &lt;&lt;EOF
      set serverout on 
      set linesize 1000
      set feedback off
      BEGIN
      DBMS_OUTPUT.PUT_LINE('inserting into mig_log');
      INSERT INTO ROAMING_LOG VALUES(SYSDATE,'NEW RECORD CREATION IN BSCS',0,0,0,0,0,'No new Roaming Partner created.','N');
      COMMIT;
      END;
      /
      EOF
      echo 'data inserted'
      echo 'mail to sent'
      echo -e "$BODY4"| mailx -s "$SUBJECT" ${TO_ADDRESS} -- -r ${FROM_ADDRESS}
      echo 'mail sent'
  fi 
  </code></pre>
  
  <p>this snippet throws an error </p>
  
  <blockquote>
    <p>"SP2-0042: unknown command "EOF" - rest of line ignored."</p>
  </blockquote>
  
  <p>Any help will be appreciated..</p>