[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] gnulib/gnulib-tool shell quoting problem for Solaris /b
From: |
Paul Eggert |
Subject: |
Re: [bug-gnulib] gnulib/gnulib-tool shell quoting problem for Solaris /bin/sh |
Date: |
Wed, 25 Jan 2006 16:29:06 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
"Mark D. Baushke" <address@hidden> 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.