getopts....
Gerrit P. Haase
gerrit.haase@t-online.de
Mon Jun 4 22:35:00 GMT 2001
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
More information about the Cygwin
mailing list