I have no idea how to write ksh script, but i'm really in need of help with this. I using fedora 30 and in attempt of runnig attached script i getting those errors, i solved first error by removing excess bracket, but i do not know what should i do with other. Pls sorry for trash post.
Oh, sorry, I really do not really understand this, I just need to fix the error in this script to install some software. I think I'll learn how to work with shell scripting later, now i just don't have time for this
If you really don't understand shell scripting WHY attempt to do a so-called fix.
Neo has given you a starter so let me make it a little clearer change/edit the first line #!/bin/sh to #!/bin/ksh and see if that matches your requirement.
As for learning it later, if you haven't got time now you will never have the time in the future...
EDIT:
Also check line 40 the 'PATH's are correct and concatenated correctly...
Yeah, i know, i'm already apologized for that trash post. It's actually not my script, but i'm really need that script fixed for software that i need for study. So u have no idea why does the error appear?
Your error report says that, AT, line 40, there is something wrong with: PATH=/tmp/bin:$PATH "$1"
Not knowing ANYTHING about the installer nor its aborted error 9666 then we have to guess.
is $1 an absolute PATH or is it an absolute PATH containing an executable from inside line 6: /tmp/SIEMENS/nx100/ug_install
IF EITHER how does the said absolute PATH get created.