svn commit: r219084 - in head: bin/test
joerg at britannica.bec.de
Sun Feb 27 14:30:15 UTC 2011
On Sun, Feb 27, 2011 at 03:11:43PM +0100, Erik Trulsson wrote:
> On Sun, Feb 27, 2011 at 01:30:58PM +0100, Joerg Sonnenberger wrote:
> > On Sun, Feb 27, 2011 at 12:28:06PM +0000, Xin LI wrote:
> > > Author: delphij
> > > Date: Sun Feb 27 12:28:06 2011
> > > New Revision: 219084
> > > URL: http://svn.freebsd.org/changeset/base/219084
> > >
> > > Log:
> > > Accept == as an alias of = which is a popular GNU extension.
> > It is not a popular GNU extension. It is crap only bash supports.
> > Do you really want to encourage that?
> In what way is it 'crap', and in what way would adding support for it
> be a problem?
It is completely redundant and inconsistent with pretty much every other
test(1) implementation. E.g. it isn't even supported by /bin/test from
coretutils. The very presence of this in various shell scripts is a
direct result of silently accepting it in bash, even in sh mode. This is
just further encouragement to legalize it.
More information about the svn-src-all