[EMAIL PROTECTED] 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/