From unknown Sat Sep 13 21:16:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12580: yes ignores POSIXLY_CORRECT and cannot be stopped (coreutils 8.15) Resent-From: Marius Spix Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 05 Oct 2012 15:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12580 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 12580@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.134945227524068 (code B ref -1); Fri, 05 Oct 2012 15:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Oct 2012 15:51:15 +0000 Received: from localhost ([127.0.0.1]:56673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKABG-0006G9-RZ for submit@debbugs.gnu.org; Fri, 05 Oct 2012 11:51:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45296) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKA8L-0006BU-Ek for submit@debbugs.gnu.org; Fri, 05 Oct 2012 11:48:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKA7z-0007Tm-Ad for submit@debbugs.gnu.org; Fri, 05 Oct 2012 11:47:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:41847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKA7z-0007Ti-7d for submit@debbugs.gnu.org; Fri, 05 Oct 2012 11:47:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKA7v-0007rC-9y for bug-coreutils@gnu.org; Fri, 05 Oct 2012 11:47:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKA7u-0007Sf-BN for bug-coreutils@gnu.org; Fri, 05 Oct 2012 11:47:47 -0400 Received: from mout.web.de ([212.227.17.11]:52408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKA7u-0007SI-2I for bug-coreutils@gnu.org; Fri, 05 Oct 2012 11:47:46 -0400 Received: from spixxi.example.com ([87.164.158.222]) by smtp.web.de (mrweb102) with ESMTPA (Nemesis) id 0M09dQ-1TYgIl3FNM-00uJwI for ; Fri, 05 Oct 2012 17:47:44 +0200 Date: Fri, 5 Oct 2012 17:47:35 +0200 From: Marius Spix Message-ID: <20121005174735.6d5c64e8@spixxi.example.com> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/G1A2qbC6tL9rTD.qDkPVzVS"; protocol="application/pgp-signature" X-Provags-ID: V02:K0:OBQrcqqdbe+b8teTVjIaxHfKRsriJelCuqcJQQUu3eq noG52ofY3gZ07W2oVY7ef+Nk96c0tuXEG6IQEpdWXSM3UOeF00 tUf5xXXEkf+FwNRNDkKK/OzuzXfF/UKNeRuF4f7Gv8itfTClA9 kB2IArXRyPNHCnsocYsq9sISpUUDQ/iCbgFWOC/kY7qz6ouyRi 9xIk5UY634v75OT1OA3/Q== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Mailman-Approved-At: Fri, 05 Oct 2012 11:51:13 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -4.2 (----) --Sig_/G1A2qbC6tL9rTD.qDkPVzVS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello (sorry for my bad English), I am using coreutils 8.15 and have noted that `yes' ignores the environment variable `POSIXLY_CORRECT'. So the command `env POSIXLY_CORRECT yes --help' does print the help instead of printing `--help' until killed. In addition `yes' cannot be killed with CTRL+C (SIGINT) or CTRL+Z (SIGTSTP) if you call it with another program using the `&' operator of sh. This causes that `yes & ' can only be stopped with CTRL+D which causes a logoff. `yes & yes' however can only stopped if killed from another terminal ... Is this wanted or are these bugs? Thank you for your acknowledgement. --Sig_/G1A2qbC6tL9rTD.qDkPVzVS Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAlBvARcACgkQ56JxChvhw22ihACg1sOMJqdOrAyrWjrYU7HFm+QU EZ0AoJk4FdHNozZ88h6xm1w70Uj9qFmS =RJqK -----END PGP SIGNATURE----- --Sig_/G1A2qbC6tL9rTD.qDkPVzVS-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 05 12:33:21 2012 Received: (at control) by debbugs.gnu.org; 5 Oct 2012 16:33:21 +0000 Received: from localhost ([127.0.0.1]:56735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKAq1-0007Ey-7c for submit@debbugs.gnu.org; Fri, 05 Oct 2012 12:33:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9675) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKApx-0007Eh-6P; Fri, 05 Oct 2012 12:33:19 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q95GX4wm018301 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 5 Oct 2012 12:33:04 -0400 Received: from [10.3.113.159] (ovpn-113-159.phx2.redhat.com [10.3.113.159]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q95GX19M028972; Fri, 5 Oct 2012 12:33:03 -0400 Message-ID: <506F0BB8.9080100@redhat.com> Date: Fri, 05 Oct 2012 10:32:56 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Marius Spix Subject: Re: bug#12580: yes ignores POSIXLY_CORRECT and cannot be stopped (coreutils 8.15) References: <20121005174735.6d5c64e8@spixxi.example.com> In-Reply-To: <20121005174735.6d5c64e8@spixxi.example.com> X-Enigmail-Version: 1.4.4 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigAEBE1220EF93C74CED299ACF" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control Cc: 12580-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.3 (------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAEBE1220EF93C74CED299ACF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable tag 12580 notabug thanks On 10/05/2012 09:47 AM, Marius Spix wrote: > Hello (sorry for my bad English), >=20 > I am using coreutils 8.15 and have noted that `yes' ignores the > environment variable `POSIXLY_CORRECT'. Thanks for the report. That's because POSIX does not specify 'yes'. POSIXLY_CORRECT exists to cause applications specified by POSIX to behave in the manner specified by POSIX, but since yes is not specified by POSIX, there's nothing we need to change. >=20 > So the command `env POSIXLY_CORRECT yes --help' does print the help > instead of printing `--help' until killed. If you want to print "--help" until killed, use: yes -- --help POSIX mandates the use of '--' as a delimiter for end-of-options for any POSIX application not explicitly specified otherwise[1], if you want to treat a subsequent argument with leading dash as a non-option. Coreutils has taken that POSIX mandate and applied it to all of its apps, even those not specified by POSIX, for consistency of use. [1]echo is one of those POSIX-specified apps that is an exception to the rule, where 'echo --help' is explicitly specified otherwise to output '--help' instead of treating it as an option. Hence, in coreutils, 'echo' obeys POSIXLY_CORRECT. But we're talking about 'yes', not 'echo'.= > In addition `yes' cannot be killed with CTRL+C (SIGINT) or CTRL+Z > (SIGTSTP) if you call it with another program using the `&' operator of= > sh. That's true for ANY backgrounded application under sh. To kill a background application, you must either use kill(1), (often a shell builtin, so that you can type something like 'kill %1' instead of having to do 'kill $(determine the pid of yes)'), or else use 'fg' to bring it into the foreground at which point you can once again send it keyboard input including 'ctrl-c' to cause sigint. > This causes that `yes & ' can only > be stopped with CTRL+D which causes a logoff. `yes & yes' > however can only stopped if killed from another terminal ... >=20 > Is this wanted or are these bugs? There are no bugs in what you have reported, just a misunderstanding of what POSIX specified and how shell backgrounding works. As such, I'm closing this bug report, but feel free to continue to reply on this thread if you have more concerns. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enigAEBE1220EF93C74CED299ACF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBCAAGBQJQbwu7AAoJEKeha0olJ0Nqi5MH/2FEECtzHgOZX1eSiiT29Bxl ApeEYx2qxpB3bJPt0y75hGmgW7UVWVqQI7HbMBpgdNgtJHOhVsfBEqEgnjiEdv4G MAXSCZJHzRbJLXYbr6TNn9GOqKIYZoLaJuyntd+VVDW1zn0fSKubGtgCrP8cfLWe LsrxFUZXIqfH1CDKtzFGggHqSaiTKxUle+pao0DPvbou0bk2RAnLeSymNUPXfy92 7aUUMARs2yMYjQEH/oun2MN9azwVV5nseI9ACGqO3zcAOeqMveQdpUawUnyrtNFF cHy8h4LhURDlA8u2GtsjHxdd27+WR3H346SXU/G0Ce6vOlD+vadAQBd9nYr4jLs= =gn9h -----END PGP SIGNATURE----- --------------enigAEBE1220EF93C74CED299ACF-- From unknown Sat Sep 13 21:16:45 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Marius Spix Subject: bug#12580: closed (Re: bug#12580: yes ignores POSIXLY_CORRECT and cannot be stopped (coreutils 8.15)) Message-ID: References: <506F0BB8.9080100@redhat.com> <20121005174735.6d5c64e8@spixxi.example.com> X-Gnu-PR-Message: they-closed 12580 X-Gnu-PR-Package: coreutils X-Gnu-PR-Keywords: notabug Reply-To: 12580@debbugs.gnu.org Date: Fri, 05 Oct 2012 16:34:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1349454843-27905-1" This is a multi-part message in MIME format... ------------=_1349454843-27905-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #12580: yes ignores POSIXLY_CORRECT and cannot be stopped (coreutils 8.15) which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12580@debbugs.gnu.org. --=20 12580: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12580 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1349454843-27905-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 12580-done) by debbugs.gnu.org; 5 Oct 2012 16:33:21 +0000 Received: from localhost ([127.0.0.1]:56733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKAq0-0007Ew-Ml for submit@debbugs.gnu.org; Fri, 05 Oct 2012 12:33:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9675) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKApx-0007Eh-6P; Fri, 05 Oct 2012 12:33:19 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q95GX4wm018301 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 5 Oct 2012 12:33:04 -0400 Received: from [10.3.113.159] (ovpn-113-159.phx2.redhat.com [10.3.113.159]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q95GX19M028972; Fri, 5 Oct 2012 12:33:03 -0400 Message-ID: <506F0BB8.9080100@redhat.com> Date: Fri, 05 Oct 2012 10:32:56 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Marius Spix Subject: Re: bug#12580: yes ignores POSIXLY_CORRECT and cannot be stopped (coreutils 8.15) References: <20121005174735.6d5c64e8@spixxi.example.com> In-Reply-To: <20121005174735.6d5c64e8@spixxi.example.com> X-Enigmail-Version: 1.4.4 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigAEBE1220EF93C74CED299ACF" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 12580-done Cc: 12580-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.3 (------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAEBE1220EF93C74CED299ACF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable tag 12580 notabug thanks On 10/05/2012 09:47 AM, Marius Spix wrote: > Hello (sorry for my bad English), >=20 > I am using coreutils 8.15 and have noted that `yes' ignores the > environment variable `POSIXLY_CORRECT'. Thanks for the report. That's because POSIX does not specify 'yes'. POSIXLY_CORRECT exists to cause applications specified by POSIX to behave in the manner specified by POSIX, but since yes is not specified by POSIX, there's nothing we need to change. >=20 > So the command `env POSIXLY_CORRECT yes --help' does print the help > instead of printing `--help' until killed. If you want to print "--help" until killed, use: yes -- --help POSIX mandates the use of '--' as a delimiter for end-of-options for any POSIX application not explicitly specified otherwise[1], if you want to treat a subsequent argument with leading dash as a non-option. Coreutils has taken that POSIX mandate and applied it to all of its apps, even those not specified by POSIX, for consistency of use. [1]echo is one of those POSIX-specified apps that is an exception to the rule, where 'echo --help' is explicitly specified otherwise to output '--help' instead of treating it as an option. Hence, in coreutils, 'echo' obeys POSIXLY_CORRECT. But we're talking about 'yes', not 'echo'.= > In addition `yes' cannot be killed with CTRL+C (SIGINT) or CTRL+Z > (SIGTSTP) if you call it with another program using the `&' operator of= > sh. That's true for ANY backgrounded application under sh. To kill a background application, you must either use kill(1), (often a shell builtin, so that you can type something like 'kill %1' instead of having to do 'kill $(determine the pid of yes)'), or else use 'fg' to bring it into the foreground at which point you can once again send it keyboard input including 'ctrl-c' to cause sigint. > This causes that `yes & ' can only > be stopped with CTRL+D which causes a logoff. `yes & yes' > however can only stopped if killed from another terminal ... >=20 > Is this wanted or are these bugs? There are no bugs in what you have reported, just a misunderstanding of what POSIX specified and how shell backgrounding works. As such, I'm closing this bug report, but feel free to continue to reply on this thread if you have more concerns. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enigAEBE1220EF93C74CED299ACF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBCAAGBQJQbwu7AAoJEKeha0olJ0Nqi5MH/2FEECtzHgOZX1eSiiT29Bxl ApeEYx2qxpB3bJPt0y75hGmgW7UVWVqQI7HbMBpgdNgtJHOhVsfBEqEgnjiEdv4G MAXSCZJHzRbJLXYbr6TNn9GOqKIYZoLaJuyntd+VVDW1zn0fSKubGtgCrP8cfLWe LsrxFUZXIqfH1CDKtzFGggHqSaiTKxUle+pao0DPvbou0bk2RAnLeSymNUPXfy92 7aUUMARs2yMYjQEH/oun2MN9azwVV5nseI9ACGqO3zcAOeqMveQdpUawUnyrtNFF cHy8h4LhURDlA8u2GtsjHxdd27+WR3H346SXU/G0Ce6vOlD+vadAQBd9nYr4jLs= =gn9h -----END PGP SIGNATURE----- --------------enigAEBE1220EF93C74CED299ACF-- ------------=_1349454843-27905-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Oct 2012 15:51:15 +0000 Received: from localhost ([127.0.0.1]:56673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKABG-0006G9-RZ for submit@debbugs.gnu.org; Fri, 05 Oct 2012 11:51:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45296) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKA8L-0006BU-Ek for submit@debbugs.gnu.org; Fri, 05 Oct 2012 11:48:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKA7z-0007Tm-Ad for submit@debbugs.gnu.org; Fri, 05 Oct 2012 11:47:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:41847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKA7z-0007Ti-7d for submit@debbugs.gnu.org; Fri, 05 Oct 2012 11:47:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKA7v-0007rC-9y for bug-coreutils@gnu.org; Fri, 05 Oct 2012 11:47:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKA7u-0007Sf-BN for bug-coreutils@gnu.org; Fri, 05 Oct 2012 11:47:47 -0400 Received: from mout.web.de ([212.227.17.11]:52408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKA7u-0007SI-2I for bug-coreutils@gnu.org; Fri, 05 Oct 2012 11:47:46 -0400 Received: from spixxi.example.com ([87.164.158.222]) by smtp.web.de (mrweb102) with ESMTPA (Nemesis) id 0M09dQ-1TYgIl3FNM-00uJwI for ; Fri, 05 Oct 2012 17:47:44 +0200 Date: Fri, 5 Oct 2012 17:47:35 +0200 From: Marius Spix To: bug-coreutils@gnu.org Subject: yes ignores POSIXLY_CORRECT and cannot be stopped (coreutils 8.15) Message-ID: <20121005174735.6d5c64e8@spixxi.example.com> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/G1A2qbC6tL9rTD.qDkPVzVS"; protocol="application/pgp-signature" X-Provags-ID: V02:K0:OBQrcqqdbe+b8teTVjIaxHfKRsriJelCuqcJQQUu3eq noG52ofY3gZ07W2oVY7ef+Nk96c0tuXEG6IQEpdWXSM3UOeF00 tUf5xXXEkf+FwNRNDkKK/OzuzXfF/UKNeRuF4f7Gv8itfTClA9 kB2IArXRyPNHCnsocYsq9sISpUUDQ/iCbgFWOC/kY7qz6ouyRi 9xIk5UY634v75OT1OA3/Q== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 05 Oct 2012 11:51:13 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -4.2 (----) --Sig_/G1A2qbC6tL9rTD.qDkPVzVS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello (sorry for my bad English), I am using coreutils 8.15 and have noted that `yes' ignores the environment variable `POSIXLY_CORRECT'. So the command `env POSIXLY_CORRECT yes --help' does print the help instead of printing `--help' until killed. In addition `yes' cannot be killed with CTRL+C (SIGINT) or CTRL+Z (SIGTSTP) if you call it with another program using the `&' operator of sh. This causes that `yes & ' can only be stopped with CTRL+D which causes a logoff. `yes & yes' however can only stopped if killed from another terminal ... Is this wanted or are these bugs? Thank you for your acknowledgement. --Sig_/G1A2qbC6tL9rTD.qDkPVzVS Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAlBvARcACgkQ56JxChvhw22ihACg1sOMJqdOrAyrWjrYU7HFm+QU EZ0AoJk4FdHNozZ88h6xm1w70Uj9qFmS =RJqK -----END PGP SIGNATURE----- --Sig_/G1A2qbC6tL9rTD.qDkPVzVS-- ------------=_1349454843-27905-1--