On Monday 12 September 2011, Paul Eggert wrote: > On 09/12/11 13:03, Stefano Lattarini wrote: > >> > It's just that this trick doesn't work for the shell itself, > >> > at least, it doesn't always work in the presence of traps. > >> > > > So you basically agree with my opinion? > > I agree that it's a problem with ksh's behavior. > Glad to hear this.
> I'm not sure that it violates POSIX; that would > require more POSIX-lawyering, I'm afraid. The > wording in this area is pretty opaque. > If that ksh behaviour doesn't clearly violate POSIX, then future versions of the standard should IMHO be enahnced to explicitly prohibit it (in both its AT&T and Solaris variants). But before hurring to open a bug report with the opengroup, let's wait for some POSIX guru to step in and save the day ;-) Regards, Stefano