Subject: Arrays in Cygwin?
From: David Starks-Browning <[email-masked]>
To: "Robert Mark Bram" <[email-masked]>
Cc: <[email-masked]>
Date: Fri, 31 May 2002 12:09:14 +0100

On Friday 31 May 02, Robert Mark Bram writes:
> The excerpt below shows the error I get from trying to run a script with an
> array in it.
> 
> ...
> 
> Robert Mark Bram@DIJONG /home/Rob/
> $ sh ./ass1.sh
> ./ass1.sh: 4: Syntax error: word unexpected (expecting ")")

"sh" is not bash.  "sh" does not have arrays.  "bash" does.

David

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/