| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Mon, 23 Dec 2002 14:41:39 +0100 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
| Subject: | Re: Bugs in Cygnus Tools bash |
| Message-ID: | <20021223144139.I28368@cygbert.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
| References: | <47D438A0510BD611B9470002A58EDAE7DEC84B AT mchh2a6e DOT mchh DOT siemens DOT de> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <47D438A0510BD611B9470002A58EDAE7DEC84B@mchh2a6e.mchh.siemens.de> |
| User-Agent: | Mutt/1.3.22.1i |
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 AT cygwin DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |