sh -c 'trap "" 10; date' vs. sh -c 'trap "" 11; date' on 4.?bsd

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Sat Sep 15 06:06:52 AEST 1984


Yes, you cannot catch trap 11 in the Bourne shell since it is needed
internally for memory allocation purposes.  Newer shells give the
following message on your example:
	sh: bad trap: cannot trap 11



More information about the Comp.unix.wizards mailing list