Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: Chris Faylor 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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