Operating System - HP-UX
1832306 Members
2212 Online
110041 Solutions
New Discussion

line 58: syntax error: unexpected end of file

 
siddharthC
Occasional Advisor

line 58: syntax error: unexpected end of file

Hi,

I am getting following error when i am running this script.

line 58: syntax error: unexpected end of file

Can any one help me out.

Regards,
Siddharth
4 REPLIES 4
Peter Godron
Honored Contributor

Re: line 58: syntax error: unexpected end of file

Hi,
I suspect a 'fi' is missing at the end of the file, thereby closing the if on yn .
Peter Nikitka
Honored Contributor

Re: line 58: syntax error: unexpected end of file

Hi,

I think, the here documents are the problem:
cat <
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
siddharthC
Occasional Advisor

Re: line 58: syntax error: unexpected end of file

Thanks for the suggestions. I have created a new script for the mailing part.

Regards,
Siddharth
Peter Nikitka
Honored Contributor

Re: line 58: syntax error: unexpected end of file

Hi,

since you are new to this forum, I want to put your attention to the point system:

http://forums1.itrc.hp.com/service/forums/helptips.do?#28

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"