On Thu, Sep 25, 2008 at 7:29 PM, hggdh <[EMAIL PROTECTED]> wrote: > Indeed 'test' and '[' are two different programs. You can verify this > yourself by looking at the source package: you will find ./src/test.c > and ./src/lbracket.c (the '[' programme). They do similar (but not > identical) functions, and share the man page. > > As such, I am closing this bug invalid.
I have reset to new because there is obviously an issue with the man page. This should probably be fixed upstream though. See below that the --version options is specified in the man page, but really only works for one of the "test" executables. Additionally, some other options may also be incorrect... $ /usr/bin/\[ --version [ (GNU coreutils) 6.10 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Kevin Braunsdorf and Matthew Bradburn. $ /usr/bin/test --version -- Kristian Erik Hermansen http://kristian-hermansen.blogspot.com ** Summary changed: - /usr/bin/test and /usr/bin/[ are two different executables + /usr/bin/test and /usr/bin/[ are two different executables, but share the same man page, and the options specified within are therefore incorrect -- /usr/bin/test and /usr/bin/[ are two different executables, but share the same man page, and the options specified within are therefore incorrect https://bugs.launchpad.net/bugs/259894 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
