Getting HUPed
    Paul Chamberlain 
    tif at doorstop.austin.ibm.com
       
    Thu Mar 21 07:49:15 AEST 1991
    
    
  
In article <53767 at mirror.tmc.com> kiyun at mirror.tmc.com (KiYun Roe) writes:
>    trap "rm -f /tmp/p$$.* ; exit" 0 1 2 13 15
>
>... but it's forking like crazy,
Isn't this when you have to do this:
	trap "rm -f /tmp/p$$.* ; trap 0; exit" 0 1 2 13 15
If 0 is trapped when you try to exit, you trap, and so on ...
Paul Chamberlain | I do NOT speak for IBM.          IBM VNET: PAULCC AT AUSTIN
512/838-9748     | ...!cs.utexas.edu!ibmchs!auschs!doorstop.austin.ibm.com!tif
    
    
More information about the Comp.unix.shell
mailing list