Re: trap problem on bash 4.2

2011-03-25 Thread Chet Ramey
On 3/21/11 8:46 AM, sky wrote: > Bash Version: 4.2 > Patch Level: 8 > Release Status: release > > Description: > I am a programmer working in Japan. > I encountered an incompatibility between bash 4.2 and 4.1. Thanks for the report. I made some changes in this area between bash-

bizarre trap behavior while reading a file

2011-03-25 Thread tytus64
I started execution of the following script and and repeatedly sent a SIGHUP to it from another shell. If SIGHUP is received within the first while loop the loop terminates with "wc -l" printing fewer than 4158 lines. If SIGHUP is received within the second while loop the loop still continues and

Re: bizarre trap behavior while reading a file

2011-03-25 Thread Chet Ramey
On 3/25/11 5:25 PM, tytus64 wrote: > > I started execution of the following script and and repeatedly sent a SIGHUP > to it from another shell. If SIGHUP is received within the first while loop > the loop terminates with "wc -l" printing fewer than 4158 lines. If SIGHUP > is received within the se