[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
'kill -l' outputs SIG prefix if job control not compiled in
From: |
Martijn Dekker |
Subject: |
'kill -l' outputs SIG prefix if job control not compiled in |
Date: |
Fri, 4 Nov 2016 22:30:56 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
Normal bash:
$ kill -l 141
PIPE
Bash compiled with --enable-minimal-config --enable-alias:
$ kill -l 141
SIGPIPE
That SIG prefix shouldn't be there. (Enabling POSIX mode makes no
difference to the output.)
A look at the source tells me that, for some reason, the POSIXly correct
output of 'kill -l' was made dependent on job control being compiled in.
I don't see any reason for that, so unless I'm missing something, the
attached patch should fix it.
Thanks,
- M.
kill-l.patch
Description: Text Data
- 'kill -l' outputs SIG prefix if job control not compiled in,
Martijn Dekker <=