since the
documentation of 'set -E' promises inheritance of the ERR trap for subshell
contexts. The script below illustrates this behavior as the trap action
err_handler() is not called.
Is this behaviour intended? Even if so, I'd like to say that I would find ERR
trap inheritance for command
for subshell
contexts. The script below illustrates this behavior as the trap action
err_handler() is not called.
Is this behaviour intended? Even if so, I'd like to say that I would find ERR
trap inheritance for command substitution extremely useful :-)
Cheers,
Stefan
#!/bin/bash
of 'set -E' promises inheritance of the ERR trap for subshell
contexts. The script below illustrates this behavior as the trap action
err_handler() is not called.
Is this behaviour intended? Even if so, I'd like to say that I would find ERR
trap inheritance for command substitution extremely useful