GNU bug report logs - #12580
yes ignores POSIXLY_CORRECT and cannot be stopped (coreutils 8.15)

Previous Next

Package: coreutils;

Reported by: Marius Spix <marius.spix <at> web.de>

Date: Fri, 5 Oct 2012 15:52:02 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Marius Spix <marius.spix <at> web.de>
To: 12580 <at> debbugs.gnu.org
Subject: bug#12580: yes ignores POSIXLY_CORRECT and cannot be stopped (coreutils 8.15)
Date: Fri, 5 Oct 2012 17:47:35 +0200
[Message part 1 (text/plain, inline)]
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 & <insert_random_program_name_here>' 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.
[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 12 years and 317 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.