Can someone show a minimal test case for this bug? The following command works as expected under either 4.3 or 4.4:
$ bash -ec 'cleanup() { echo foo; }; trap cleanup EXIT; echo bar' bar foo $
Can someone show a minimal test case for this bug? The following command works as expected under either 4.3 or 4.4:
$ bash -ec 'cleanup() { echo foo; }; trap cleanup EXIT; echo bar'
bar
foo
$