I have a script that requires a specific k shell only expression to execute. The script runs correctly on an E6500 running Solaris 7, but fails on two E3500s running Solaris 7. We have already checked with diff, and the scripts are identical on the 3 machines. Patch levels are also identical.
We turned on additional debugging and it shows that even though the first line of the script is #!/bin/ksh at the instant the expression is supposed to run, the system shell is /bin/sh. Of course this makes the script fail because the expression is k shell exclusive.
Does anyone have an idea about how to fix this problem?
Thanks,
George Wolfe
Systems Engineer
First Data Corp.