bug-bash
[Top][All Lists]
Advanced

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

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


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

Op 13-09-16 om 14:29 schreef Greg Wooledge:
> On Tue, Sep 13, 2016 at 05:11:05AM +0200, Martijn Dekker wrote:
>> 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.
> 
> My guess is it's just printing the string with the first 3 characters
> removed (SIGHUP -> HUP, SIGINT -> INT, EXIT -> T).

You're right. The fix is pretty simple, too. Patch attached.

- M.

Attachment: commons.diff
Description: Text document


reply via email to

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