Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL
-DHAVE_CONFIG_H   -I.  -I../. -I.././include -I.././lib
-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall
uname output: Linux simeone-thinkpad 3.19.0-23-generic #24-Ubuntu SMP Tue
Jul 7 18:52:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 4.3
Patch Level: 30
Release Status: release

Description:
        According to the joint man page for '[' and 'test', '[ --version'
and '[ --help' should give appropriate output, while 'test' should not.
'test' appears to behave correctly, but when running '[ --version' or '[
--help', the following error appers:
bash: [: missing `]'

        It appears that whatever code is checking for syntax failed to
take  the two options that may be passed to '[' into account.


Repeat-By:
        [ --help
        OUTPUT: bash: [: missing `]'

Reply via email to