Possible bash incompatibility

RuiXian BAO ruixian.bao@gmail.com
Mon Apr 18 22:54:00 GMT 2005


Hello,

On 4/18/05, Brian Dessent <brian@dessent.net> wrote:
> Arash Partow wrote:
> 
> > error message:
> > bash-2.05b$ ./test.sh
> > ./test.sh: line 3: [: too many arguments
> > Target platform is NOT Win32 via CYGWIN
> > bash-2.05b$
> 
> WJFFM:
> 
> $ ./test.sh
> Target platform is Win32 via CYGWIN
> 
> (both 1 and "1" work the same without error)

The script works for me, 

bao@universi-dmsrii ~
$ ./test.sh
Target platform is Win32 via CYGWIN

bao@universi-dmsrii ~
$

Best

Bao

> Are you sure that the grep in your path is Cygwin's grep?
> 
> Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list