Subject: Re: test: ==: unexpected operator
To: None <tech-userlevel@netbsd.org>
From: James K. Lowden <jklowden@schemamania.org>
List: tech-userlevel
Date: 09/21/2006 21:47:12
Hubert Feyrer wrote:
>=20
> bash/Linux allows "=3D=3D" as an alternative to "=3D" in their test(1)
> command. I wonder if we want to save some trouble and just make our
> test(1)  silently accept that too, instead of fixing all the broken
> scripts out  there.

A humble suggestion, if I may.  If we do this, why not write something
like "accepting nonstandard =3D=3D operator" to stderr?  A warning promotes
the standard without breaking.=20

If anyone complains about the warning, the remedy is obvious: fix the
script.  I don't see a need for anything more sophisticated. =20

Just my 2=A2, of course. =20

--jkl