On Mon, Apr 02, 2018 at 02:35:28PM +0000, Nick Chambers wrote:
> On 4/1/18, 5:54 AM, "bug-bash on behalf of Martijn Dekker" 
> <bug-bash-bounces+nchambers=lightspeedsystems....@gnu.org on behalf of 
> mart...@inlv.org> wrote:
> 
>     $ bash -c 'trap "echo WHOA" ERR; command false'
>     WHOA
>     WHOA
>     
>     Expected output: just one WHOA (as on *ksh, zsh)
>     
>     Thanks,
>     
>     - M.
>     
> Please use the bashbug tool to submit the bug, so those that look at this can 
> get some meaningful information about your environment (and at the very 
> least, can know what version of bash you’re using).

For the record, I can reproduce this output using bash 4.4.12 (the one
built by Debian) on Debian 9 amd64.  As to whether this constitutes a bug,
I do not have an opinion yet.

Also happens in self-compiled bash 2.05b on the same computer.  Probably
every version, but I didn't try any others.

Reply via email to