[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dubious parse in builtin 'test' command
From: |
Chet Ramey |
Subject: |
Re: Dubious parse in builtin 'test' command |
Date: |
Sun, 09 Dec 2007 15:11:13 -0500 |
User-agent: |
Thunderbird 2.0.0.9 (Macintosh/20071031) |
Finn Wilcox wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: i686
> OS: cygwin
> Compiler: gcc
> Compilation
> CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='cygwin'
> -DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/
> locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -DRECYCLES_PIDS -I. -I/h
> ome/eblake/bash-3.2.25-17/src/bash-3.2 -I/home/eblake/bash-3.2.25-17/src/bas
> h-3.2/include -I/home/eblake/bash-3.2.25-17/src/bash-3.2/lib -O2 -pipe
> uname output: CYGWIN_NT-5.0 zorin 1.5.24(0.156/4/2) 2007-01-31 10:57 i686
> Cygwin
> Machine Type: i686-pc-cygwin
>
> Bash Version: 3.2
> Patch Level: 25
> Release Status: release
>
> Description:
> builtin "test" command does not behave as expected with args "! -a FILE"
Read the manual page or question E1 in the Bash FAQ for an explanation of
the bash builtin `test', which operates based on the number of arguments.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/