Since I am unable to reproduce those failures,
I suspect that some of the implied `-4mdk' changes
introduced the problem.

Would you please build from *unmodified* sources?

> # unpatched coreutils-5.0.91:
> #
>
> $ rpm -q coreutils
> coreutils-5.0.91-4mdk
> $ [ --version|head -n1

It's strange that the above generates no output,
but the one below does.

Please use /usr/bin/[ or ./[ in such tests.
Then we won't have to wonder about your $PATH.

> $ [ x = x ] && echo ok
> [: too many arguments
> $ [ x = x
> $ test 1 -eq 2
> $ test 1 -eq 2 ]
> test: too many arguments
> $ perl -e 'system("[", "1", "=", "1", "]")'
> [: too many arguments
> $ perl -e 'system("/usr/bin/[", "1", "=", "1", "]")'
> /usr/bin/[: too many arguments
> $ perl -e 'system("/usr/bin/[", "1", "=", "1")'
>
> # patched coreutils-5.0.91:
> #
>
> $ rpm -q coreutils
> coreutils-5.0.91-5mdk
> $ [ --version|head -n1
> test (GNU coreutils) 5.0.91
> $ [ x = x ] && echo ok
> ok
> $ [ x = x
> [: missing `]'
> $ test 1 -eq 2
> $ test 1 -eq 2 ]
> test: too many arguments
> $ perl -e 'system("[", "1", "=", "1", "]")'
> $ perl -e 'system("/usr/bin/[", "1", "=", "1", "]")'
> $ perl -e 'system("/usr/bin/[", "1", "=", "1")'
> /usr/bin/[: missing `]'


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to