delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/23/09:55:18

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 23 Jan 2001 09:53:41 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: using of getopts in bash
Message-ID: <20010123095341.A8407@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <C9A98ED35114D31197D000805FEA668E027B1889 AT mucexch DOT muc DOT sdm DOT de>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <C9A98ED35114D31197D000805FEA668E027B1889@mucexch.muc.sdm.de>; from klaus.berndl@sdm.de on Tue, Jan 23, 2001 at 03:45:01PM +0100

On Tue, Jan 23, 2001 at 03:45:01PM +0100, klaus DOT berndl AT sdm DOT de wrote:
>Has anybody an easy understanding example for me how to use the bash build in command "getopts"
>(or where i can find such an example)?? This would help me a lot...

getopts is built into bash.  It is not built into ash.
/bin/sh == ash.
/bin/bash != /bin/sh

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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