Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-09-2003, 01:51 PM   #1
LQ Newbie
Registered: Mar 2003
Location: AZ
Distribution: Red Hat 7.2, 7.3, 8.0
Posts: 13

Rep: Reputation: 0
Question Unexpected EOF Error???

I am trying to run the following script in Linux, but I am getting an unexpected error.

Here is the code:

#.BASH.PROFILE Variables
ORA="#Oracle Environment Variables"
ORA1="ORACLE_BASE=/home/oracle; export ORACLE_BASE"
ORA4="PATH=$ORACLE_HOME/bin:$PATH:/sbin; export PATH"

#Adding Parameter changes to /home/oracle/.bash_profile
echo "Adding Parameter changes to /home/oracle/.bash_profile"
echo -e "$ORA" >> /home/oracle/.bash_profile
echo -e "$ORA1" >> /home/oracle/.bash_profile
echo -e "$ORA2" >> /home/oracle/.bash_profile
echo -e "$ORA3" >> /home/oracle/.bash_profile
echo -e "$ORA4" >> /home/oracle/.bash_profile
echo -e "$ORA5" >> /home/oracle/.bash_profile
echo "*done*"

Here is the error:

./ line 18: unexpected EOF while looking for matching `"'
./ line 19: syntax error: unexpected end of file

Any ideas why? This is just a small part of a larger script that was working, but in trouble shooting each part I got these errors.

Thanks for your help.
Old 07-09-2003, 02:03 PM   #2
Registered: Sep 2002
Location: Tulsa, OK
Distribution: Slack, baby!
Posts: 349

Rep: Reputation: 33
The definition of ORA5 is missing the trailing ".

Old 07-09-2003, 03:01 PM   #3
LQ Newbie
Registered: Mar 2003
Location: AZ
Distribution: Red Hat 7.2, 7.3, 8.0
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks! I knew it was something stupid like that, but when you are looking at it over and over again, you miss it.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
G4U unexpected EOF jonax2k5 Linux - Software 1 11-16-2005 12:05 PM
Can anyone tell me what I need to do when running into a tar: Unexpected EOF error? schmootsypoo Linux - Software 2 09-03-2004 08:50 AM
Kernel 2.6.5 Compile Error unexpected EOF haimeltjnfg Linux - Software 4 05-14-2004 10:06 PM
Unexpected EOF in archive when install Gentoo 1.4 stage1 cirofren Linux - Distributions 1 11-06-2003 02:56 AM
tar: Unexpected EOF saavik Linux - Newbie 1 04-13-2002 03:13 AM

All times are GMT -5. The time now is 11:08 PM.

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