"Mark D. Baushke" <[EMAIL PROTECTED]> writes: > I also have a memory of seeing the 'trap 0 1 2 3 15' idiom used > somewhere
Yes, it's a common idiom and is almost universally supported, but POSIX is quite clear that "trap 0 1 2 3 15" is supposed to execute the command "0" when one of the signals 1 2 3 15 arrive. I reviewed how ksh etc. actually behave, and it's pretty clear that this is a bug in POSIX. None of the shells I checked behave the way that POSIX requires. I just now submitted a bug report to the Open Group (my reference number 20060125a), and we'll see how they resolve it. _______________________________________________ bug-gnulib mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnulib
