13

Unexpected EOF while looking for matching `"'

view full story
linux-howto

http://www.unix.com – I have a piece of Linux script. It tells me some syntax error. I couldn't find it. Please help me to identify them. Thanks. The code looks like this: Code: export ORACLE_SID=MYDB export SPW=`cat /opt/oracle/scripts/.sys_pw_$ORACLE_SID` export check_arch=`sqlplus -s << EOF / as sysdba @/opt/oracle/scripts/sql/check_archives.sql exit; EOF` export archive_count=`echo $check_arch | awk -F, '{print $2}'` export ORACLE_SID=MYDB export SPW=`cat /opt/oracle/scripts/.sys_pw_$ORACLE_SID` if [ $check_arch -gt 0 ]; then echo " Generating the script on MYDB primary instanc (HowTos)