Thierry Vignaud <[EMAIL PROTECTED]> wrote: > latest coreutils wrongly assume the same behavior for both test and [ > programs.
Thanks for the patch, but so far I don't see a problem. FYI, the latest is 5.1.0, but that has a couple of known problems. 5.1.1 should be out soon. > however, whereas it's ok for test to be called as in "test toto -eq > tata ]" , "[" call must be finished by a "]" as in "[ toto -eq tata ]" Given the above description, I have been unable to guess what a failing test case might be. > see http://qa.mandrakesoft.com/show_bug.cgi?id=6736 for reference I can't reproduce the failure mentioned in the above URL. Please provide a precise test case: what you typed, what was output, and what you expected. And be sure to use an unmodified version of the coreutils package. E.g., compile from source, then do something like this: $ ./[ --version|head -n1 [ (GNU coreutils) 5.0.91 $ ./[ x = x ] && echo ok ok $ ./[ x = x ./[: missing `]' [Exit 2] $ ./test x = x ] ./test: too many arguments [Exit 2] $ ./test 1 -eq 2 [Exit 1] $ ./test 1 -eq 2 ] ./test: too many arguments [Exit 2] _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils
