[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fc echoing DEBUG trap
From: |
Chet Ramey |
Subject: |
Re: fc echoing DEBUG trap |
Date: |
Tue, 24 Sep 2013 10:18:59 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
On 9/19/13 2:12 PM, Carlos Pita wrote:
> Bash Version: 4.2
> Patch Level: 45
> Release Status: release
>
> Description:
>
> If you set a DEBUG trap fc echoes it along the edited commands after
> leaving editor.
Sure: the DEBUG trap is supposed to be executed before every simple
command (and a few other types).
Chet
--
``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/