Op 10-01-19 om 11:37 schreef Martijn Dekker:
> In a dot script sourced with 'command .' (which is useful to avoid
> exiting if the script doesn't exist), triggering a syntax error in an
> 'eval' in a subshell causes dash to hang at the end of the main script.

In fact, 'eval' doesn't appear related. I can also trigger the bug by
triggering an error in another special builtin:

command . /dev/stdin <<EOF
( set -o foobar ) && echo WOOPS
EOF
echo end

- M.

Reply via email to