bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug] kill -l 0 outputs T, not EXIT


From: Martijn Dekker
Subject: [Bug] kill -l 0 outputs T, not EXIT
Date: Tue, 13 Sep 2016 05:11:05 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

The command

        kill -l 0

outputs T. I would expect EXIT as T is not a valid signal or
pseudosignal name. Since T is the last letter of EXIT, I suspect a typo
somewhere.

AT&T ksh93 outputs EXIT. pdksh/mksh and zsh output 0 (presumably EXIT is
not a real signal). dash and yash give a "no such signal number" error.
All of these seem sensible, but "T" does not.

Confirmed in bash 2.05b.13, 3.2.57 and 4.4.0.

Thanks,

- M.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]