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: "Gerrit P. Haase" Organization: Esse keine toten Tiere To: cygwin AT cygwin DOT com Date: Tue, 5 Jun 2001 22:30:30 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: getopts.... Reply-to: gerrit DOT haase AT t-online DOT de Message-ID: <3B1D5D86.20908.C610FC3@localhost> In-reply-to: <4711-Tue05Jun2001103929+0100-starksb@ebi.ac.uk> References: <3B1C8C03 DOT 23629 DOT 92EA659 AT localhost> X-mailer: Pegasus Mail for Win32 (v3.12cDE) David Starks-Browning schrieb am 2001-06-05, 10:39: > On Tuesday 5 Jun 01, Gerrit P. Haase writes: > > angelena DOT jasny AT boq DOT com DOT au schrieb am 2001-06-05, 11:42: > > > > > Hi, > > > I have read the FAQ - is there any chance of getting a full "sh" that includes > > > > Wow, isn't this in the FAQ? > > > > > getopts and other useful scripting mechanisms? > > > > Yes, but you need to build it for yourself. > > Look at your favorite mirror for: > > ftp://your.mirror.here/..../cygwin/latest/common/common-src.tar.gz > > ftp://your.mirror.here/..../cygwin/latest/ash/ash-20010425-src.tar.gz > > > > Unpack common in an empty dir, this will create a subdir 'src'. > > > > $ cd src > > > > unpack ash here. > > modify: ash/builtins.def to include: getoptscmd getopts > > instead of: getoptscmd -j getopts > > ... > > That part is not in the FAQ. I was not aware of this possibility. Is > it worth adding? Hmmm, i found two three references to that at google, and right now, after i'm missing getopts, the next one is asking. There is a general hint at the FAQ, 'why is this feature missing...', in future there will be more and more interested people, was it the german ct-magazin which wants to spread 400000 copies of cygin over europe? There will be some more newbies which know all the stuff from unixes and they will ask, 'why is my script not working as on my *ix-box'. i think it would be not wrong to build this lonely feature (getopts) in ash back again, why not? Windows is boring slow all the time, so it makes no big difference if it is in or not. On the other hand, they may use bash instead of ash... -gph -- =^..^= -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple