10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I dont know where I missed the double quotes .:wall:pls review this code and help me out .
m1: line 26: unexpected EOF while looking for matching `"'
m1: line 34: syntax error: unexpected end of file
echo "script is created by prabhu Kumar ";
echo "changing the directory to wes... (2 Replies)
Discussion started by: ptappeta
2 Replies
2. Shell Programming and Scripting
Well, this is a very crazy issue, and I'm scratching my head to find a solution.
This is a simple code to tranfer a file, in my main script I need to add a conditional statement (IF/THEN) like the below example:
#!/bin/bash
if ; then
ftp -inv "192.168.1.10" << EOFTP
user... (8 Replies)
Discussion started by: Lord Spectre
8 Replies
3. Shell Programming and Scripting
first of all I thought the argument DONE is necessary for all scripts that have or begin with do statements which I have on my script, However, I still don't completely understand why I am receiving an error I tried adding another done argument statement but didn't do any good.
I appreciate... (3 Replies)
Discussion started by: wolf@=NK
3 Replies
4. Shell Programming and Scripting
Hi,
On adding below code to my script shows the error on executing else script works fine.
sqlplus $user_name/$password <<EOL
truncate table order;
commit;
truncate table order_hist;
commit;
insert into order(ID,TRAN,CUST_NAME,OPT_VAL) select * from order_bkp;
insert into... (5 Replies)
Discussion started by: milink
5 Replies
5. Shell Programming and Scripting
I am getting a "line 47: syntax error: unexpected end of file", why? According to my estimate, line 47 is 2 lines after the last line of code here. Also, the $1 variable represents the current user logging in, and the script runs with root privileges (This is a Mac OS login hook script using... (5 Replies)
Discussion started by: glev2005
5 Replies
6. Shell Programming and Scripting
Need help. I cannot find the reason for this error:
here is the script (6 Replies)
Discussion started by: Lenora2009
6 Replies
7. Shell Programming and Scripting
Hi All,
I have written a korn script (code pasted below). It is giving the error while debugging "new.sh: syntax error at line 62: `end of file' unexpected".
I have re-written the whole code in VI and explored all help related to this error on this Unix forum and tried it. Somehow, I could... (7 Replies)
Discussion started by: schandrakar1
7 Replies
8. Shell Programming and Scripting
HELP PLEASE!!
I am running this script, and i keep getting the error 'end of file' unexpected. I know that usually means parenthesis or whatever is out of place but i cant find anything!! I am new to scripting and i put some "print" staements in and it is not getting past the first IF statment... (7 Replies)
Discussion started by: weatherman0516
7 Replies
9. Shell Programming and Scripting
This is the script
path=/oracle/ora10gdb/sample
archive=/oracle/ora10gdb/archive
cd $path
for i in `ls`;do
mv $i $archive
Done
Please tell me why it is givind this error (2 Replies)
Discussion started by: dineshr85
2 Replies
10. Shell Programming and Scripting
what do u mean by " 'end of file' unexpected "?
i am running a script called "s1" which internally calls "s2"
now s1 starts running & at a point (where it is suppose to call "s2")
i get a message
'end of file' unexpected....
& my script(s) are not working..
any ideas on this?
regards... (4 Replies)
Discussion started by: abhijeetkul
4 Replies