On 1/7/15 3:57 PM, Keith Thompson wrote: > I've discovered a bash bug that causes the "jobs" command to produce > incorrect output after an ERR trap has been defined and triggered. > I've seen it with bash 4.3.11(1)-release on Linux Mint 17 and bash > 4.3.30(1)-release on Debian 6. > I have *not* seen it with 3.2.25(1)-release on CentOS 5.10. > > The demonstration is interactive; you have to interrupt the "cat" command > by typing Control-C, and you have > to run the "jobs" command before the "sleep" commands expire.
Thanks for the report. This will be fixed in the next release of bash. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/