This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: getopts missing with latest cygwin


Getopts is not obsolete.  The ash maintainer(s) seem to think that getopts
is a job control feature and have disabled it.  To get a working /bin/sh
download the ash (and common) source, edit ash's builtins.def to remove "-j"
from the getopts line, configure, compile, and copy new-sh.exe to
/bin/sh.exe.  Hopefully an ash maintainer will fix this.

- Erik


> > I'm having a problem with a shell script (written by someone else) that
> > uses getopts.
> > Apparently getopts is obsolete.  Is there an executable getopts
available?



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]