On 2/28/14 2:48 AM, Moe Tunes wrote: > Machine Type: i686-pc-linux-gnu > > Bash Version: 4.3 > Patch Level: 0 > Release Status: release > > Description: > Pipes stop working in this version when DEBUG is used with trap in an > interactive shell > > Repeat-By: > pgas | # bash -c 'trap : DEBUG;echo foo | grep -v foo';echo OK > shbot | pgas: OK > pgas | # bash -ci 'trap : DEBUG;echo foo | grep -v foo';echo OK > shbot | pgas: no output within the time limit > pgas | this is not ok > pgas | # bash -c 'echo $BASH_VERSION' > shbot | pgas: 4.3.0(3)-release
Thanks for the report. This appears to be a Linux-specific problem related to job control. It doesn't happen on Mac OS X, Solaris, or FreeBSD, and using -m instead of -i causes it as well. I'll take a look. 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/