bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Second trap invocation is ignored?


From: Chet Ramey
Subject: Re: Second trap invocation is ignored?
Date: Fri, 10 Apr 2015 11:16:03 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 4/6/15 11:58 AM, Greg Wooledge wrote:

> 
> I'd be fine with that, but then why does "source ./foo" create a DEBUG
> trap at the global scope the *first* time?

Because there's nothing to save and restore.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]