Once upon a time, Jos Vos <[EMAIL PROTECTED]> said:
> What bash does:
> kill -0 <PIDS> succeeds if one or more of the pid parameters is valid
> 
> I couldn't find a complete spec of what is correct/wrong in any formal
> UNIX spec till now.

SUSv3 says:

  EXIT STATUS
    The following exit values shall be returned:

    0   At least one matching process was found for each pid operand,
        and the specified signal was successfully processed for at least
        one matching process.

    >0  An error occurred.

So it would seem bash is not following the standard.  If even one PID is
invalid, it should be an error.
-- 
Chris Adams <[EMAIL PROTECTED]>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to