Hello Mike,
I found the problem. I have leading spaces for the statements followed by here-document. Hence the problem. But i dont know why it is working fine when it is not in function.
You earlier replies on the same topic have helped me alot.
Thanks a lot,
Rama Krishna
Hello mike,
I saw your reply in one of tektips forum . I have similar problem in my script when using heredocument.
It always says
""syntax error at line 4 : `<<' unmatched""
I tried by placing a "-" before end_flag but it did not work.If i have the code outside...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.