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: Bash - IF Statement


> before i knew that bash was white-space picky

I think most shells are, not just bash

> , i thought this may be a cygwin issue because i read a bit about people
> saying bash is different in cygwin than in unix

where?  I've not ran into any instances where cygwin bash varies from unix
bash

>  and i got the if-statement code from a website about unix, and when it
> didn't run in cygwin's bash i   figured it was a cygwin-specific issue

then the website posted invalid code, and your question should perhaps have
been directed there.
a minute looking at examples on google "bash if else" would give plenty of
valid snippets




-- 
View this message in context: http://www.nabble.com/Bash---IF-Statement-tp26084169p26099740.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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


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