This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: getopts missing with latest cygwin
- To: cygwin at sources dot redhat dot com
- Subject: Re: getopts missing with latest cygwin
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Tue, 10 Oct 2000 15:17:36 -0400
- References: <1001010143632.AA82047.SM@nike.ins.cwru.edu>
- Reply-To: cygwin at sources dot redhat dot com
- yo: cygwin@sources.redhat.com
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@sourceware.cygnus.com