delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/10/15:37:06

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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Tue, 10 Oct 2000 15:17:36 -0400
To: cygwin AT sources DOT redhat DOT com
Subject: Re: getopts missing with latest cygwin
Message-ID: <20001010151736.L3352@cygnus.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: cygwin AT sources DOT redhat DOT com
References: <1001010143632 DOT AA82047 DOT SM AT nike DOT ins DOT cwru DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
yo: cygwin AT sources DOT redhat DOT com
In-Reply-To: <1001010143632.AA82047.SM@nike.ins.cwru.edu>; from chet@nike.ins.cwru.edu on Tue, Oct 10, 2000 at 10:36:32AM -0400

On Tue, Oct 10, 2000 at 10:36:32AM -0400, Chet Ramey wrote:
>> FYI, getopts can also be a separate program although we don't supply it
>> with cygwin, currently.
>
>No, it can't.  A separate program cannot propagate the changes to
>$OPTIND and $OPTARG back to the parent shell.

Btw, I based my assertion that it can be used as a separate program on this:

% ls -l /usr/bin/getopts
-rwxr-xr-x   1 bin      bin         1518 Jul 25  1995 /usr/bin/getopts

I have no idea how it actually is used with sh on this system, though.

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