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: Eduardo A . Bustamante López
Subject: Re: Second trap invocation is ignored?
Date: Mon, 6 Apr 2015 10:04:12 -0500
User-agent: Mutt/1.5.23 (2014-03-12)

There is no bug. Simply, your expectations on when the DEBUG trap runs are
wrong.

The `script2' I provided ran with set -T is the closest you'll get to what you
expect, but, since DEBUG runs *before* the source command, it'll not work as
you want.

-- 
Eduardo Bustamante
https://dualbus.me/



reply via email to

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