This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: getopts....
- To: angelena dot jasny at boq dot com dot au
- Subject: Re: getopts....
- From: "Gerrit P. Haase" <gerrit dot haase at t-online dot de>
- Date: Tue, 5 Jun 2001 07:36:35 +0200
- CC: cygwin at cygwin dot com
- Organization: Esse keine toten Tiere
- Reply-to: gerrit dot haase at t-online dot de
angelena.jasny@boq.com.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