> 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