delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/05/01:36:18

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Gerrit P. Haase" <gerrit DOT haase AT t-online DOT de>
Organization: Esse keine toten Tiere
To: angelena DOT jasny AT boq DOT com DOT au
Date: Tue, 5 Jun 2001 07:36:35 +0200
MIME-Version: 1.0
Subject: Re: getopts....
Reply-to: gerrit DOT haase AT t-online DOT de
CC: cygwin AT cygwin DOT com
Message-ID: <3B1C8C03.23629.92EA659@localhost>
In-reply-to: <4A256A62.000952F0.00@bqlho_nts5.boq.com.au>
X-mailer: Pegasus Mail for Win32 (v3.12cDE)

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

$ cd ..
$ mkdir build
$ cd build
$ ../src/configure --prefix=/usr 2>&1 tee log.config
$ make

 and if all finishes without error, 
copy build/ash/sh-new.exe to /bin/sh.exe

-gph

ps: someone else would have written:
http://www.google.com/search?q=getopts+site%3Acygwin.com&hl=de&meta=

-- 
=^..^=

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019