On Tue, Aug 07, 2007 at 09:32:58AM -0400, Clint Adams wrote: > On Tue, Aug 07, 2007 at 02:21:55PM +0100, Stephane Chazelas wrote: > > But if posh was really pedantic, it should not accept > > kill -s signal_number pid. > > Agreed: it should accept only names and 0.
Hi Clint, I'm glad we agree. For information, zsh is the only shell I know that doesn't recognise kill -s 1 instead of kill -s HUP. The Bourne shell's kill at least on Solaris recognises neither kill -s 1 nor kill -s HUP. It recognises kill -HUP and kill -1 though. Admitedly, the Bourne shell is not meant to be POSIX compliant. But that still makes it difficult to write something portable to any "sh" (which not what posh is about, that's understood). Cheers, Stephane -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]