[PATCH] shell script error management in ash (set of 6 patches)

Roberto A. Foglietta roberto.foglietta at gmail.com
Mon Aug 16 14:40:04 UTC 2021


Il giorno sab 14 ago 2021 alle ore 18:14 Roberto A. Foglietta <
roberto.foglietta at gmail.com> ha scritto:

> Hi all,
>
>  I will send the whole six patches developed in these days with the test
> suite in a tarball.
>

 Unfortunately, I discovered that set -E was completely wrong and two bugs
make information like $FUNCNAME and $LINENO unreliable.
 The good news is I have the patch that fixes these problems. Moreover I
have updated the test suite adding comparison with bash results.
 AFAIK, the patched busybox ash is more precise and more informative than
bash.
 Please, give it a try and give me your opinions.

 Best regards,
-- 
Roberto A. Foglietta
+39.349.33.30.697
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20210816/c6befcfa/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.33.1-7of7-set-E-reworked-and-two-bugfixes.patch
Type: application/octet-stream
Size: 1909 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20210816/c6befcfa/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsuite.tgz
Type: application/x-compressed
Size: 1779 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20210816/c6befcfa/attachment.bin>


More information about the busybox mailing list