Re: [BUG] ERR trap triggered twice when using 'command'

2018-04-02 Thread Nick Chambers
On 4/1/18, 5:54 AM, "bug-bash on behalf of Martijn Dekker" wrote: $ bash -c 'trap "echo WHOA" ERR; command false' WHOA WHOA Expected output: just one WHOA (as on *ksh, zsh) Thanks, - M. While you should still use the bashbug tool, I’m not sure if this

Re: [BUG] ERR trap triggered twice when using 'command'

2018-04-02 Thread Nick Chambers
On 4/1/18, 5:54 AM, "bug-bash on behalf of Martijn Dekker" 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

Re: tilde character not interpreted in variable set

2018-03-02 Thread Nick Chambers
On 3/2/18, 9:03 AM, "bug-bash on behalf of Koncz, Istvan (Extern)" wrote: Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='l