There really is not enough information here to make a good diagnosis.
I would suggest that you insert a “set -x” command on the second line of your Unix shell script. This will show you what is being executed as far as Unix is concerned.
My suspicion – only a suspicion! – is that there are one or more characters that SQLPlus or Unix does not interpret correctly and the script is just giving up.