skl@ABEL.MATH.UIUC.EDU (Soren Lundsgaard) (02/27/90)
I ran the following script, and typed a ctrl/c in the middle of it. I got a longjump botch and a core dump. this is bash 1.03 compiled under ultrix 3.0 and running under ultrix 3.1. I think that I am using trap correctly. It runs correctly under sys5 shell (/bin/sh5 on Ultrix). Please note that I have NOT tested this in bash 1.04 here is the script. trap "trap '' 0 ; echo exiting ; exit 0" 0 1 2 3 15 while : do echo in the loop sleep 1 done skl@uiuc.edu