in reply to breaking from a script

check out system. Normally most unix commands will return a 0 upon success and something else upon failure. You can investigate the return value of system (or $?) shifted 8 places in order to see the exit status of the command ($? >> 8).

-derby