On 23/08/2021 09:16, Roberto A. Foglietta wrote:
IMHO, syntax error should be an exit condition either.
I would not have a problem with you changing the shell to ensure syntax errors always terminate (though I cannot speak for others), but the problem is not limited to syntax errors, so that is not enough to fix the problem.
For the moment we can still assume that in busybox all exceptions are deadly.
I do not understand this, not even with your followup e-mail. You changed my test in which the syntax error is non-fatal to one where the syntax error is fatal, and then conclude from that that you can assume syntax errors are always fatal? That does not work. If you have two tests with syntax errors, where the syntax errors are fatal in only one of them, that means you can *not* assume all syntax errors are fatal, and can *not* assume all exceptions are deadly.
_______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox