Re: Error Handling with bash script

2010-05-26 Thread Marc Herbert
Le 24/05/2010 17:05, Lenga, Yair a écrit: > I would like to propose an improvement to the bash error handling: > Add flag/option "err_return", that will cause a user defined shell > functions to immediately return, when a simple command will return a > non-zero status code. > The behavior is simil

Error Handling with bash script

2010-05-24 Thread Lenga, Yair
Hi, I would like to propose an improvement to the bash error handling: Add flag/option "err_return", that will cause a user defined shell functions to immediately return, when a simple command will return a non-zero status code. The behavior is similar to the existing '-e', but is different in

Error Handling with bash script

2010-05-24 Thread Lenga, Yair
Hi, I would like to propose an improvement to the bash error handling: Add flag/option "err_return", that will cause a user defined shell functions to immediately return, when a simple command will return a non-zero status code. The behavior is similar to the existing '-e', but is different in