Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: Tue, 9 Nov 1999 09:04:15 -0500 From: Christopher Faylor To: Clive Bostock Cc: cygwin AT sourceware DOT cygnus DOT com Subject: Re: getopts problem Message-ID: <19991109090415.A3345@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: Clive Bostock , cygwin AT sourceware DOT cygnus DOT com References: <199911091350 DOT NAA00636 AT uksn71> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <199911091350.NAA00636@uksn71>; from Clive Bostock on Tue, Nov 09, 1999 at 01:44:00PM +0000 On Tue, Nov 09, 1999 at 01:44:00PM +0000, Clive Bostock wrote: >Hi, I've recently been developing a shell script using B19 >of CYGWIN. I hit a problem with awk and so upgraded to B20. >This fixed the awk problem. However I now find that unless >the 1st line of the shell script has the #!path_to_bash/bash >included, bash errors with "getopts not found". /bin/sh != /bin/bash That's why. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com