Hi All,
This is my first post, so here goes!
#! /bin/ksh
If I do a rsh within a function then the script terminates as it leaves the function (instead of returning to main and finishing off any other processing). I think this may have something to do with re-direction and simply having the correct syntax when calling the rsh(sub-shell), I'm sure I cracked this one before but can't remember how.
Alternatively, could I call a dummy function just before the function is supposed to return to main and have that function just simply return?
I'm sure other shell programmers must have come across this before, so.......here's hoping!
Adam
This is my first post, so here goes!
#! /bin/ksh
If I do a rsh within a function then the script terminates as it leaves the function (instead of returning to main and finishing off any other processing). I think this may have something to do with re-direction and simply having the correct syntax when calling the rsh(sub-shell), I'm sure I cracked this one before but can't remember how.
Alternatively, could I call a dummy function just before the function is supposed to return to main and have that function just simply return?
I'm sure other shell programmers must have come across this before, so.......here's hoping!
Adam