[PATCH] shell script error management in ash (ready for integration)

Roberto A. Foglietta roberto.foglietta at gmail.com
Mon Aug 30 06:55:13 UTC 2021


Hi Denis,

 supported by the experience of Harald, I developed this patch far enough
to be ready for integration. These are the features that will add to
busybox ash:

 - trap ERR and set -E added
 - global FUNCNAME added
 - LINENO became global

 The patch is in attachment with its test suite. Both could be also
retrieved at this link

 https://github.com/robang74/tinycore-editor/tree/main/busybox/patches
 busybox-1.33.1-error-management-extension-for-ash-v019.patch

 https://github.com/robang74/tinycore-editor/tree/main/busybox/tests

 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/20210830/06ebccd4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.33.1-error-management-extension-for-ash-v019.patch
Type: application/octet-stream
Size: 11747 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20210830/06ebccd4/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsuite.tgz
Type: application/x-compressed
Size: 4280 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20210830/06ebccd4/attachment-0001.bin>


More information about the busybox mailing list