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 Message-ID: <01ad01c03242$fd78da00$cf01010a@in.teamp.com> From: "Erik Nolte" To: "John Brenneise" , References: <018F9928A6F0D311ABAC00105ACC65592FB8B5 AT MARS> Subject: Re: getopts missing with latest cygwin Date: Mon, 9 Oct 2000 16:45:21 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 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 AT sourceware DOT cygnus DOT com