invalid output from kill -l

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

 



Just noticed that `kill -l SIGINT` returns 'INT' rather than '2'
I require the later to write a portable script.
bash, coreutils and procps return '2' as expected.

$ rpm -qf /bin/kill
util-linux-2.13-0.51.fc7

$ /bin/kill -l SIGINT
INT

$ kill -l SIGINT #bash & procps do
2

Pádraig.
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux