Re: Question: is this a bug in BASh (pre-exec trap)

2016-09-10 Thread Chet Ramey
On 9/9/16 2:00 PM, Matthew Giassa wrote: > Good day, > > I've been doing some testing with the bash-prexec script which uses a > DEBUG trap to issue user-supplied functions before executing each > command (https://github.com/rcaloras/bash-preexec). > > Here is a minimal working example > (https:

Question: is this a bug in BASh (pre-exec trap)

2016-09-09 Thread Matthew Giassa
Good day, I've been doing some testing with the bash-prexec script which uses a DEBUG trap to issue user-supplied functions before executing each command (https://github.com/rcaloras/bash-preexec). Here is a minimal working example (https://github.com/rcaloras/bash-preexec/issues/25) which cause