"Com MN PG P E B Consultant 3" wrote:
> rlogin foobar
> DO SOME STUFF
> cleartool setview myview # this creates a subshell
> DO MORE STUFF
> cleartool setview yourview # now I'm two subshells deep
> DO STILL MORE STUFF
> # Now I want to exit
> exit
> exit
> logout
You can turn cleartool into a function that exits the shell after
running the real cleartool.
cleartool() { command cleartool "$@"; exit; }
Works in both shells.
--
Peter Stephenson <[EMAIL PROTECTED]> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
To access the latest news from CSR copy this link into a web browser:
http://www.csr.com/email_sig.php
_______________________________________________
Bug-bash mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-bash