What is Linux for VMS DCL "ON ERROR"?

Posted by C.W.Holeman II on Stack Overflow See other posts from Stack Overflow or by C.W.Holeman II
Published on 2010-06-11T22:19:48Z Indexed on 2010/06/11 22:22 UTC
Read the original article Hit count: 226

Using VMS DCL command scripts one can catch errors by using the on error command:

$ on error then goto MyErrorHandler

How does one do this in Linuxland?

© Stack Overflow or respective owner

Related posts about linux

Related posts about scripting