Home » Infrastructure » Unix » Shell Script error
Shell Script error [message #433762] Fri, 04 December 2009 02:20 Go to next message
Messages: 10
Registered: July 2009
Junior Member
hi all,
I'm new to the shell script and i need someone to explain me on this. I already execute the shell script and facing error like below:

/u01/orauata/fmsuatappl/xbol/11.5.0/bin/XLTHBSMBBI.prog[9]: ^M: not found
/u01/orauata/fmsuatappl/xbol/11.5.0/bin/XLTHBSMBBI.prog[12]: ^M: not found
/u01/orauata/fmsuatappl/xbol/11.5.0/bin/XLTHBSMBBI.prog[15]: ^M: not found
/u01/orauata/fmsuatappl/xbol/11.5.0/bin/XLTHBSMBBI.prog[18]: ^M: not found
/u01/orauata/fmsuatappl/xbol/11.5.0/bin/XLTHBSMBBI.prog[22]: ^M: not found
/u01/orauata/fmsuatappl/xbol/11.5.0/bin/XLTHBSMBBI.prog[25]: ^M: not found
/u01/orauata/fmsuatappl/xbol/11.5.0/bin/XLTHBSMBBI.prog[28]: ^M: not found
/u01/orauata/fmsuatappl/xbol/11.5.0/bin/XLTHBSMBBI.prog[30]: syntax error at line 37 : `do
' unexpected
Program exited with status 127

here i paste my shell script as references.
Thanks in advance.
  • Attachment: mbb.txt
    (Size: 1.91KB, Downloaded 2106 times)
Re: Shell Script error [message #433769 is a reply to message #433762] Fri, 04 December 2009 03:25 Go to previous message
Michel Cadot
Messages: 68658
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Remove ^M (carriage return, chr(13) at the end of the lines.

This question bears no real connection with Oracle.
Please find a more appropriate forum.
The topic is locked.

Previous Topic: Copy only files whiich do not exist on Target Directory
Next Topic: Running a shell script from command line in Unix
Goto Forum:

Current Time: Tue May 28 15:33:41 CDT 2024