GNU bug report logs - #8263
[PATCH] Allow == as synonym for = in test

Previous Next

Package: coreutils;

Reported by: dwheeler <at> dwheeler.com

Date: Tue, 15 Mar 2011 23:41:01 UTC

Severity: normal

Tags: patch

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


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

From: Pádraig Brady <P <at> draigBrady.com>
To: dwheeler <at> dwheeler.com
Cc: 8263 <at> debbugs.gnu.org
Subject: Re: bug#8263: [PATCH] Allow == as synonym for = in test
Date: Mon, 21 Mar 2011 12:25:38 +0000
On 15/03/11 23:39, David A. Wheeler wrote:
> The following trivial patch makes GNU coreutils' test recognize "=="
> as a synonym for "=".  This is already the case in GNU coreutils' expr,
> bash, ksh, busybox ash, FreeBSD-current /bin/sh and /bin/test, and
> OpenBSD's /bin/sh.  These are only a few lines, so I don't think
> any paperwork is needed.  The following implements "==" and documents it.

Related http://austingroupbugs.net/view.php?id=375
I'm leaning towards accepting this.

Note dash does not support ==, nor does older busybox ash.
dash seem to be waiting for the POSIX acceptance before changing?

cheers,
Pádraig.




This bug report was last modified 14 years and 125 days ago.

Previous Next


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