GNU bug report logs - #20514
Patch to tie --help and --version behavior to POSIXLY_CORRECT

Previous Next

Package: coreutils;

Reported by: Shawn McMahon <syberghost <at> gmail.com>

Date: Wed, 6 May 2015 15:53:03 UTC

Severity: normal

Tags: wontfix

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #27 received at 20514 <at> debbugs.gnu.org (full text, mbox):

From: Shawn McMahon <syberghost <at> gmail.com>
To: Eric Blake <eblake <at> redhat.com>
Cc: 20514 <at> debbugs.gnu.org
Subject: Re: bug#20514: Patch to tie --help and --version behavior to
 POSIXLY_CORRECT
Date: Wed, 6 May 2015 12:42:39 -0400
[Message part 1 (text/plain, inline)]
On Wed, May 6, 2015 at 12:36 PM, Eric Blake <eblake <at> redhat.com> wrote:

>
> Another argument against the change: This proposal would only affect
> /bin/test (or 'env test', or other constructs that force resolution
> through PATH).  However, most shells have 'test' as a builtin, so it
> will NOT impact those instances.  Having coreutils needlessly differ
> from other implementations is undesirable.  If you can first get 'bash'
> patched to do this, you might have a stronger argument, but bash is one
> of those programs where the mere act of setting POSIXLY_CORRECT in the
> environment changes a lot about how bash behaves.


bash is actually worse, since "[ --help"  doesn't work with the builtin.
But agreed on your point.
[Message part 2 (text/html, inline)]

This bug report was last modified 10 years and 68 days ago.

Previous Next


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