bug#12580: yes ignores POSIXLY_CORRECT and cannot be stopped (coreutils
From:
Marius Spix
Subject:
bug#12580: yes ignores POSIXLY_CORRECT and cannot be stopped (coreutils 8.15)
Date:
Fri, 5 Oct 2012 17:47:35 +0200
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.