General :: Error "unexpected End Of File" - Script
Dec 28, 2010
i ve been struggling for 2 days now and cant figure out the soluton. this is my whole script
sqlplus SIEBEL/SIEBEL@oltpsia << EOF
set serveroutput on size 1000000
set heading off
set feedback off
Insert into EIM_ZIPCODE_BADEIM (select sysdate, 'TOPONOMASTICA','','', c.* From EIM_ZIPCODE c where
[Code]....
the sql is properly executed but the if condition not, and i keep receiving the error message "unexpected end of file"
I have compiled both gocr and subtitleripper from [URL] and I am running into a problem with one of the scripts run from subtitleripper: pgm2txt. The error is:
Code:
andrew@skamandros~/Desktop/Labyrinth/subtitles$ pgm2txt -f en fauno /usr/bin/pgm2txt: line 165: unexpected EOF while looking for matching `"' /usr/bin/pgm2txt: line 179: syntax error: unexpected end of file
Support for this program is not available and development has ceased a while ago so I have had a look at the script itself and I cannot see the error in syntax.
I have a bash script giving me the following error:
[Code]...
When I run it I am getting: ./svnup: line 61: syntax error: unexpected end of file Can't for the life of me figure out what is wrong. It's a script to export the latest revision from SVN to the web root folder and archive the previous version, basically.
Setting up desktop-base (5.0.3) ... Updating /boot/grub/grub.cfg ... Found linux image: /boot/bzImage /etc/grub.d/01_OVHkernel: line 37: syntax error: unexpected end of file
I am going crazy with a gzip file. I can decompress the file in Windows using WinRAR but it is impossible on any UNIX operating system. the file seems to be ok. If I do file the_name_of_the_file.gz
I get: the_name_of_the_file.gz: gzip compressed data, from Unix, last modified: Sun Jan 30 14:10:21 2011
But if I do gunzip -f the_name_of_the_file.gz I alsways get: gzip: the_name_of_the_file.gz: unexpected end of file The same problem happens when I try to extract the file using the GUI tool in Ubuntu or MacOSX,
find /opt/postfix/mail/email.com/~spam/~quarantine/ ( -iname * -o -iname .* ) ! -type p -exec grep -i -c admin@email.com {}; -xdev -print When I do this command I receive this error message: -bash: syntax error near unexpected token `('
I'm trying to install the Sun Java plugin to use in Chrome. The installation seems to have gone well, but I have hit an error trying to create a symbolic link of the libnpjp2.so library in the plugins directory of Chrome.
When typing in "in -s /opt/java/jre1.6.0_26/lib/i386/libnpjp2.so" I get "Syntax error near unexpected token `in' ". I'm not sure what could be wrong, I'm in the right directory.
I'm trying to edit the bash_profile but I'm getting this error."/.bash_profile: line 46: syntax error: unexpected end of the file"Here is my bash_profile.
# .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then
My website can`t open because of the error, Parse error: syntax error, unexpected T_STRING in /home/dodonet2/public_html/includes/config.php on line 45.
The following problem occurs to me, I'm creating a distribution (as a class project) for my school (I'm studying telecommunications and computer systems). I am following, in order to create the distribution, the manual that you can find on this page: [URL] But when I get to write:
Parse error: syntax error, unexpected '@' in C:xampphtdocsminippromail.php on line 8 .......its not recognizing the '@' symbol. heres the code im working with
<?php $receiver = myfriend@ourmail.co.in; $subject = wish; $content = Hi! My dear friend how are you.; $sender = myself@ ourmail.co.in ; $headers = From: $sender; mail($receiver,$subject, $content,$headers); echo Mail has been sent successfully.; ?>
I am trying to build a script that runs on AIX, Solaris, and various flavors of Linux as well. It is very simple, or so I thought. I have the AIX and Solaris servers working well. Next I tried to get my workstation to run the script and it bombed. I am running Fedora 12 x86_64, but that isn't really important. I have various flavors of Linux. Some CentOS, RH, and even a Gentoo server. The script I have runs every hour on all servers. I can push out changes and install software with it, but the Linux WS won't run it.
Here is my script:
And here are the errors:
Is this just an issue with going between ksh and bash?
I'm fairly new to shell scripting and am having the hardest time figuring out why this simple script is giving me an error
The error is "syntax error near unexpected token `else'
I'm using TextEdit on OSX (sorry I'm limited to this). The only thing I can think of is that it's reading some return character and getting thrown off. I've tried saving the script using different encoding types but the same error pops up.
I also get an error at line 2 because it does not regonize as a command
I just installed F12 lastnight and I went to run updates and the update manager said that there were unexpected errors and could not continue. I tried again today and same results. There are something like 321Mb of updates to run so...would be nice to get this machine updated.
I was going through this Lex/YACC tutorial: [URL]... and I was working along with it. The Lex examples worked fine, but the YACC one quit white compiling
I have a .sql file that is too large and needs to be uploaded via ssh.I know the commands to do this but my username password has parenthesis in it i.e. (password)So I am getting -bash: syntax error near unexpected token.