cvs commit: src/bin/sh expand.c parser.c parser.h

Joerg Sonnenberger joerg at britannica.bec.de
Tue Jun 3 11:59:11 UTC 2008


On Mon, Jun 02, 2008 at 02:45:15PM -0400, John Baldwin wrote:
> Specifically note the "==" passed to test(1).  POSIX says this should be "=", 
> and that's all our test(1) implements.  The bash manpage for the builtin-test 
> command says:
> 
>        string1 == string2
>               True if the strings are equal.  = may be used in place of == for
>               strict POSIX compliance.

What is even more annoying about this is that it is a BASHism, not a
GNUism. The test from coreutils doesn't understand == either.

Joerg


More information about the cvs-src mailing list