delorie.com/archives/browse.cgi | search |
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, 10 Oct 2000 16:12:59 -0400 |
From: | Chet Ramey <chet AT nike DOT ins DOT cwru DOT edu> |
To: | cygwin AT sources DOT redhat DOT com |
Subject: | Re: getopts missing with latest cygwin |
Reply-To: | chet AT po DOT CWRU DOT Edu |
Message-ID: | <1001010201259.AA89692.SM@nike.ins.cwru.edu> |
Read-Receipt-To: | chet AT po DOT CWRU DOT Edu |
MIME-Version: | 1.0 |
X-In-Reply-To: | Message from cgf AT cygnus DOT com of Tue, 10 Oct 2000 15:17:36 -0400 (id <20001010151736 DOT L3352 AT cygnus DOT com>) |
> >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. It's not. It simply exists to satisfy a POSIX.2 requirement. It need not be (and is not) useful. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere'' -- chet) Chet Ramey, CWRU chet AT po DOT CWRU DOT Edu http://cnswww.cns.cwru.edu/~chet/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |