Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 31 May 2002 12:09:14 +0100 Message-ID: <6100-Fri31May2002120914+0100-starksb@ebi.ac.uk> From: David Starks-Browning MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Robert Mark Bram" Cc: Subject: Arrays in Cygwin? In-Reply-To: References: <20020531052014 DOT GC15432 AT redhat DOT com> 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 AT 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/