Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <03e901c2aa8c$85437850$cd8a9dc0@uk.aonix.com> From: "Cliff Hones" To: "Scheinert Frank EXT" , References: <47D438A0510BD611B9470002A58EDAE7DEC84B AT mchh2a6e DOT mchh DOT siemens DOT de> Subject: Re: Bugs in Cygnus Tools bash Date: Mon, 23 Dec 2002 14:06:41 -0000 Organization: Aonix Europe Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Frank DOT Scheinert DOT extern AT icn DOT siemens DOT de wrote >... > Finally, the bash itself doesn't know the getopts function > > ... > User defined functions like > > function usage > { > echo blabla > } > > produce a "function: not found" output. Are you trying this in a shell script? If so, you may be inadvertently using the ash shell rather than bash. By default, you get the ash shell when you run a script. To get bash, you need to add "#!/bin/bash" as the first line of the script. A word of advice - don't report things as bugs unless you are sure they are bugs and not cockpit error - it can make you look foolish if you or your configuration are to blame. -- Cliff -- 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/