B20.1: bash getopts?

Robert Story rstory-l@revelstone.com
Tue Aug 31 23:49:00 GMT 1999

I wrote :
> I'm trying to run a bash script which uses getopts under cygwin. The
> script works on my linux box, but reports 'getopts not found' under
> cygwin.
> #/bin/bash
> [snip]

A helpful soul responded:
>sounds like you're not really using bash, but
>how about changing your first line to #!/bin/bash instead of #/bin/bash ?

Doh! I can't believe I missed that.  Please pass the DUNCE cap, and 
I'll go sit in the corner.  :-(

Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

More information about the Cygwin mailing list