I have a csh
script (a.csh
) which calls another (./b.csh
). How do I exit from a.csh
if some condition is not satisfied while running b.csh
?
Here is how I call b.csh
b.csh >&! b.csh.log
There is a related question for bash
How to exit all the calling scripts in bash?.