Full threadopenthc·clever implementation of a try/catch like thing in bash. If my scripts get that complicated I usually up-scale the code to $LANG_IN_FASHION_AT_WORKView on HN