Re: trap output piped to another program gives incomplete results

2010-04-11 Thread Chet Ramey
On 4/10/10 12:18 AM, Siddhesh Poyarekar wrote: > On Sat, Apr 10, 2010 at 8:51 AM, Chet Ramey wrote: >> On 3/31/10 1:45 AM, Siddhesh Poyarekar wrote: >> >>> Bash Version: 4.1 >>> Patch Level: 2 >>> Release Status: release >>> >>> Description: >>> When output of trap is piped to anothe

Re: trap output piped to another program gives incomplete results

2010-04-09 Thread Siddhesh Poyarekar
On Sat, Apr 10, 2010 at 8:51 AM, Chet Ramey wrote: > On 3/31/10 1:45 AM, Siddhesh Poyarekar wrote: > >> Bash Version: 4.1 >> Patch Level: 2 >> Release Status: release >> >> Description: >>               When output of trap is piped to another command, say, less or >>               cat -, it shows

Re: trap output piped to another program gives incomplete results

2010-04-09 Thread Chet Ramey
On 3/31/10 1:45 AM, Siddhesh Poyarekar wrote: > Bash Version: 4.1 > Patch Level: 2 > Release Status: release > > Description: > When output of trap is piped to another command, say, less or > cat -, it shows only ignored signals. As the standard is currently written,

Re: trap output piped to another program gives incomplete results

2010-03-31 Thread Eric Blake
On 03/30/2010 11:45 PM, Siddhesh Poyarekar wrote: > Fix: > > I've not looked at how this can be fixed yet, but it looks > like bash is forking for the trap builtin, which inherits the > ignored signals, hence showing only them as active traps >