getopts....

Gerrit P. Haase gerrit.haase@t-online.de
Mon Jun 4 22:45:00 GMT 2001


Gerrit P. Haase schrieb am 2001-06-05, 7:36:

> > 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
Oops.................................^^^^^a pipe here!!!
--> $ ../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
> 



-- 
=^..^=

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



More information about the Cygwin mailing list