This is the mail archive of the cygwin@cygwin.com 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]

Arrays in Cygwin?


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/


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