This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Bugs in Cygnus Tools bash
On Mon, Dec 23, 2002 at 02:19:46PM +0100, Scheinert Frank EXT wrote:
> Version : GNU bash, version 2.05b.0(8)-release (i686-pc-cygwin)
>
> 1st Bug
> following output is created by man, help and info commands:
>
> myPrompt>man man
> bash: man: command not found
You didn't install the man package.
> info command gives no getopts information.
The `info' command doesn't print bash builtins and never did.
> Finally, the bash itself doesn't know the getopts function
> [...]
> 2nd Bug
> User defined functions like
>
> function usage
> {
> echo blabla
> }
>
> produce a "function: not found" output.
bash-2.05b$ function blabla
> {
> while getopts abc myopt
> do
> echo Option $myopt
> done
> echo blabla
> }
bash-2.05b$ blabla -a
Option a
blabla
So what?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/