From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 11 07:18:53 2011 Received: (at submit) by debbugs.gnu.org; 11 Sep 2011 11:18:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2i3l-0001zv-3T for submit@debbugs.gnu.org; Sun, 11 Sep 2011 07:18:51 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2fQM-0006Sy-Ju for submit@debbugs.gnu.org; Sun, 11 Sep 2011 04:29:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R2fMF-0001Z3-2u for submit@debbugs.gnu.org; Sun, 11 Sep 2011 04:25:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RECEIVED_FROM_WINDOWS_HOST,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:54122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2fMF-0001Yz-1Q for submit@debbugs.gnu.org; Sun, 11 Sep 2011 04:25:43 -0400 Received: from eggs.gnu.org ([140.186.70.92]:39072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2fME-0007k8-BJ for bug-coreutils@gnu.org; Sun, 11 Sep 2011 04:25:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R2fMD-0001Yl-EU for bug-coreutils@gnu.org; Sun, 11 Sep 2011 04:25:42 -0400 Received: from caibbdcaaaaf.dreamhost.com ([208.113.200.5]:52044 helo=homiemail-a48.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2fMD-0001Yd-7T for bug-coreutils@gnu.org; Sun, 11 Sep 2011 04:25:41 -0400 Received: from homiemail-a48.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a48.g.dreamhost.com (Postfix) with ESMTP id A83AD4F805C for ; Sun, 11 Sep 2011 01:25:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shealevy.com; h=message-id:date :subject:from:to:mime-version:content-type: content-transfer-encoding; q=dns; s=shealevy.com; b=P8/rmsbTdrxP Z6CFIyvBuVtWKjlGu8HrCgsper/6CmF9FBPogqYDxXRrqI1WnZcICEnLJdIt7SeY elJpsPayM2POFCh/ZLazNRvFAOCogZ7yec64h9SGq75qDXReKKMWFVJgQDw0CDj6 aEOQSoqcHtjpkxiGbsXZ083J4tYs0jY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=shealevy.com; h=message-id :date:subject:from:to:mime-version:content-type: content-transfer-encoding; s=shealevy.com; bh=0gtXBR8G2fk2mhU0Aj LQ93I7vGE=; b=Wzi43Ttf9AALCoWS76THjN1EMQIcZstr1u+fCNvYlJX9KcSXw/ W6Jwwwzn3jabLG/puTOcyD4ZlokvEHjTByB2vz9yRVe2mqqOtuF1riELgLCBod/I hx//IUv5iwj0c4YMbDna2Fx7r/CjavdUnKVl4extqa2RkyxJN86wvJopo= Received: from webmail.shealevy.com (ahfbbjcaiaae.dreamhost.com [75.119.208.4]) (Authenticated sender: shea@shealevy.com) by homiemail-a48.g.dreamhost.com (Postfix) with ESMTPA id 8C7B04F8058 for ; Sun, 11 Sep 2011 01:25:38 -0700 (PDT) Received: from 184.36.106.176 (proxying for 184.36.106.176) (SquirrelMail authenticated user shea@shealevy.com) by webmail.shealevy.com with HTTP; Sun, 11 Sep 2011 01:25:38 -0700 Message-ID: Date: Sun, 11 Sep 2011 01:25:38 -0700 Subject: "kill -l" doesn't conform to POSIX when POSIXLY_CORRECT is set From: shea@shealevy.com To: bug-coreutils@gnu.org User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Windows 98 (1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 11 Sep 2011 07:18:48 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) >From http://pubs.opengroup.org/onlinepubs/9699919799/utilities/kill.html: When the -l option is specified, the symbolic name of each signal shall be written in the following format: "%s%c", , where the is in uppercase, without the SIG prefix, and th= e shall be either a or a . For the last signal written, shall be a . "kill -l" currently prints a table with each signal preceded by its numbe= r and with the SIG prefixes, even with POSIXLY_CORRECT. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 11 19:14:24 2011 Received: (at 9473-done) by debbugs.gnu.org; 11 Sep 2011 23:14:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2tEE-0003D1-Sv for submit@debbugs.gnu.org; Sun, 11 Sep 2011 19:14:24 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2tEC-0003Ct-EX for 9473-done@debbugs.gnu.org; Sun, 11 Sep 2011 19:14:21 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 8A35F39E80F7; Sun, 11 Sep 2011 16:10:01 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yBnLaegAvALx; Sun, 11 Sep 2011 16:10:00 -0700 (PDT) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id DDA9D39E80D2; Sun, 11 Sep 2011 16:10:00 -0700 (PDT) Message-ID: <4E6D3FBD.7060801@cs.ucla.edu> Date: Sun, 11 Sep 2011 16:09:49 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13 MIME-Version: 1.0 To: shea@shealevy.com Subject: Re: bug#9473: "kill -l" doesn't conform to POSIX when POSIXLY_CORRECT is set References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 9473-done Cc: 9473-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) Typically, 'kill' is built into the shell, and you're undoubtedly invoking your shell's version of kill. So you need to send a bug report to your shell's maintainer, not to coreutils'. For example, on my host: $ /home/eggert/opt/Linux-x86_64/coreutils-8.13/bin/kill -l | head -n 1 HUP $ kill -l | head -n 1 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP So coreutils conforms, but the shell does not. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 12 12:42:25 2011 Received: (at 9473) by debbugs.gnu.org; 12 Sep 2011 16:42:25 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R39aT-0005yZ-BA for submit@debbugs.gnu.org; Mon, 12 Sep 2011 12:42:25 -0400 Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R39aQ-0005yR-Ea for 9473@debbugs.gnu.org; Mon, 12 Sep 2011 12:42:23 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3C8B1186DED7; Mon, 12 Sep 2011 18:37:58 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 6520D1C0004C; Mon, 12 Sep 2011 18:37:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id Yb2h4OK22NUu; Mon, 12 Sep 2011 18:37:57 +0200 (CEST) Received: from igel.home (ppp-88-217-102-104.dynamic.mnet-online.de [88.217.102.104]) by mail.mnet-online.de (Postfix) with ESMTP; Mon, 12 Sep 2011 18:37:57 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 1AE7ECA296; Mon, 12 Sep 2011 18:37:56 +0200 (CEST) From: Andreas Schwab To: 9473@debbugs.gnu.org Subject: Re: bug#9473: "kill -l" doesn't conform to POSIX when POSIXLY_CORRECT is set References: <4E6D3FBD.7060801@cs.ucla.edu> X-Yow: Someone is DROOLING on my collar!! Date: Mon, 12 Sep 2011 18:37:56 +0200 In-Reply-To: <4E6D3FBD.7060801@cs.ucla.edu> (Paul Eggert's message of "Sun, 11 Sep 2011 16:09:49 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 9473 Cc: eggert@cs.ucla.edu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Paul Eggert writes: > So coreutils conforms, but the shell does not. The shell does, when called as sh (aka bash --posix). Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From unknown Sat Aug 09 04:54:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 11 Oct 2011 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator