This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Possible bash incompatibility


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)

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]