www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/09/09:01:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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 <cygwin AT sourceware DOT cygnus DOT com>
To: Clive Bostock <CBOSTOCK AT UK DOT oracle DOT com>
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 <CBOSTOCK AT UK DOT oracle DOT com>,
cygwin AT sourceware DOT cygnus DOT com
References: <199911091350 DOT NAA00636 AT uksn71>
Mime-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019