PJHitchman
Programmer
Hi,
Working in the ksh on Solaris 9.
I create a sort of "library" shell script that defines variables etc and then execute that inside my application shell using the "." operator.
But when the "library" shell script does not exist, the application shell exits complaining that it cannot be found.
e.g x.sh is
. y.sh
so if y.sh cannot be found I get:-
x.sh: y.sh: not found
Thanks
Pete
Is there a way of keeping the execution of the top level script running, so that I can control the exit?
Working in the ksh on Solaris 9.
I create a sort of "library" shell script that defines variables etc and then execute that inside my application shell using the "." operator.
But when the "library" shell script does not exist, the application shell exits complaining that it cannot be found.
e.g x.sh is
. y.sh
so if y.sh cannot be found I get:-
x.sh: y.sh: not found
Thanks
Pete
Is there a way of keeping the execution of the top level script running, so that I can control the exit?