Re: [Help-bash] Why`trap DEBUG` has no effect if it is called inside a f
From:
Chet Ramey
Subject:
Re: [Help-bash] Why`trap DEBUG` has no effect if it is called inside a function?
Date:
Thu, 23 Apr 2015 11:30:09 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
On 4/22/15 11:48 PM, Peng Yu wrote:
>> http://lists.gnu.org/archive/html/bug-bash/2015-04/msg00051.html
>>
>> The same explanation applies. It seems reasonable to make the same
>> change for function execution.
>
> So we should expect this bug or "feature" will be fixed in the next
> version of bash?
Yes, I think so.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/